diff --git a/src/gui/uithememanager.cpp b/src/gui/uithememanager.cpp index 54d9f6623..1253646b4 100644 --- a/src/gui/uithememanager.cpp +++ b/src/gui/uithememanager.cpp @@ -140,7 +140,7 @@ namespace std::unique_ptr createUIThemeSource(const Path &themePath) { if (themePath.filename() == CONFIG_FILE_NAME) - return std::make_unique(themePath); + return std::make_unique(themePath.parentPath()); if ((themePath.hasExtension(u".qbtheme"_qs)) && QResource::registerResource(themePath.data(), u"/uitheme"_qs))