summaryrefslogtreecommitdiff
path: root/src/gui/widgets/desktop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/desktop.cpp')
-rw-r--r--src/gui/widgets/desktop.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp
index 46bb3cba3..4aeea03b5 100644
--- a/src/gui/widgets/desktop.cpp
+++ b/src/gui/widgets/desktop.cpp
@@ -55,10 +55,11 @@ Desktop::Desktop(const Widget2 *const widget) :
mVersionLabel(new BrowserBox(this, BrowserBoxMode::AUTO_WRAP, Opaque_false,
"browserbox.xml")),
mSkin(nullptr),
- mBackgroundColor(getThemeColor(ThemeColorId::BACKGROUND, 128)),
mBackgroundGrayColor(getThemeColor(ThemeColorId::BACKGROUND_GRAY)),
mShowBackground(true)
{
+ mBackgroundColor = getThemeColor(ThemeColorId::BACKGROUND, 128);
+
addWidgetListener(this);
Wallpaper::loadWallpapers();