summaryrefslogtreecommitdiff
path: root/src/gui/widgets/desktop.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-27 03:30:58 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-27 03:30:58 +0300
commit003043714367009efaf07015cc63a901ae2ee47c (patch)
treef441091a46ac07419977a0dba4cfd6b5ceab667b /src/gui/widgets/desktop.cpp
parent916a3d76da98d078a807044c43d1a70bc146ba70 (diff)
downloadmv-003043714367009efaf07015cc63a901ae2ee47c.tar.gz
mv-003043714367009efaf07015cc63a901ae2ee47c.tar.bz2
mv-003043714367009efaf07015cc63a901ae2ee47c.tar.xz
mv-003043714367009efaf07015cc63a901ae2ee47c.zip
Remove default parameters from theme.
Diffstat (limited to 'src/gui/widgets/desktop.cpp')
-rw-r--r--src/gui/widgets/desktop.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp
index 4fe56676b..7a56035fb 100644
--- a/src/gui/widgets/desktop.cpp
+++ b/src/gui/widgets/desktop.cpp
@@ -65,7 +65,12 @@ Desktop::Desktop(const Widget2 *const widget) :
Wallpaper::loadWallpapers();
if (theme != nullptr)
- mSkin = theme->load("desktop.xml", "");
+ {
+ mSkin = theme->load("desktop.xml",
+ "",
+ true,
+ theme->getThemePath());
+ }
if (mSkin != nullptr)
mShowBackground = (mSkin->getOption("showBackground") != 0);