From 4314bbdf9c32402de75fb12320df0f0848894276 Mon Sep 17 00:00:00 2001 From: Vladimir Golovnev Date: Thu, 8 Dec 2022 17:00:02 +0300 Subject: [PATCH] Correctly load folder based UI theme PR #18173. --- src/gui/uithememanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))