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.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp
index 07a49c420..9bbe91cbb 100644
--- a/src/gui/widgets/desktop.cpp
+++ b/src/gui/widgets/desktop.cpp
@@ -57,7 +57,6 @@ Desktop::Desktop(const Widget2 *const widget) :
}
mVersionLabel->setBackgroundColor(getThemeColor(Theme::BACKGROUND, 128));
- add(mVersionLabel, 25, 2);
}
Desktop::~Desktop()
@@ -69,6 +68,11 @@ Desktop::~Desktop()
}
}
+void Desktop::postInit()
+{
+ add(mVersionLabel, 25, 2);
+}
+
void Desktop::reloadWallpaper()
{
Wallpaper::loadWallpapers();