summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.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/windowmenu.cpp
parent916a3d76da98d078a807044c43d1a70bc146ba70 (diff)
downloadplus-003043714367009efaf07015cc63a901ae2ee47c.tar.gz
plus-003043714367009efaf07015cc63a901ae2ee47c.tar.bz2
plus-003043714367009efaf07015cc63a901ae2ee47c.tar.xz
plus-003043714367009efaf07015cc63a901ae2ee47c.zip
Remove default parameters from theme.
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r--src/gui/windowmenu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index 65deb45e2..ba4993954 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -52,7 +52,8 @@ WindowMenu::WindowMenu(const Widget2 *const widget) :
ActionListener(),
SelectionListener(),
MouseListener(),
- mSkin(theme != nullptr ? theme->load("windowmenu.xml", "") : nullptr),
+ mSkin(theme != nullptr ? theme->load("windowmenu.xml", "",
+ true, theme->getThemePath()) : nullptr),
mPadding(mSkin != nullptr ? mSkin->getPadding() : 1),
mSpacing(mSkin != nullptr ? mSkin->getOption("spacing", 3) : 3),
mButtons(),