diff options
Diffstat (limited to 'src/resources/theme.cpp')
-rw-r--r-- | src/resources/theme.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/theme.cpp b/src/resources/theme.cpp index 29157240..1f7322a6 100644 --- a/src/resources/theme.cpp +++ b/src/resources/theme.cpp @@ -74,7 +74,7 @@ Skin::~Skin() void Skin::updateAlpha(float minimumOpacityAllowed) { const float alpha = std::max(minimumOpacityAllowed, - config.getFloatValue("guialpha")); + config.guiAlpha); mBorder.setAlpha(alpha); @@ -339,7 +339,7 @@ void Theme::prepareThemePath() instance(); // Try theme from settings - if (!tryThemePath(config.getStringValue("theme"))) + if (!tryThemePath(config.theme)) // Try theme from branding if (!tryThemePath(branding.getStringValue("theme"))) // Use default |