summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r--src/gui/theme.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index d13f04656..4abf76eb6 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -632,15 +632,11 @@ void Theme::prepareThemePath()
mThemeName = "";
// Try theme from settings
- if (tryThemePath(config.getValue("selectedSkin", "")))
- return;
-
- // Try theme from settings
- if (tryThemePath(config.getValue("theme", "")))
+ if (tryThemePath(config.getStringValue("theme")))
return;
// Try theme from branding
- if (tryThemePath(branding.getValue("theme", "")))
+ if (tryThemePath(branding.getStringValue("theme")))
return;
if (mThemePath.empty())