From 003043714367009efaf07015cc63a901ae2ee47c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Dec 2017 03:30:58 +0300 Subject: Remove default parameters from theme. --- src/gui/widgets/desktop.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/desktop.cpp') 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); -- cgit v1.2.3-70-g09d2