summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-01-01 04:17:05 +0300
committerAndrei Karas <akaras@inbox.ru>2018-01-01 17:20:41 +0300
commitc508209585cc7153d77d22ddb7b4ce6a291d00de (patch)
tree124338089a53a9aafd32851743f8e90be33123b1 /src/gui/windowmenu.cpp
parentcec43b2dca390a30ee71154a372f03ab498e18c2 (diff)
downloadplus-c508209585cc7153d77d22ddb7b4ce6a291d00de.tar.gz
plus-c508209585cc7153d77d22ddb7b4ce6a291d00de.tar.bz2
plus-c508209585cc7153d77d22ddb7b4ce6a291d00de.tar.xz
plus-c508209585cc7153d77d22ddb7b4ce6a291d00de.zip
Replace some status methods usage from member pointers to static member calls.
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r--src/gui/windowmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index ba4993954..da6b2a49f 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -53,7 +53,7 @@ WindowMenu::WindowMenu(const Widget2 *const widget) :
SelectionListener(),
MouseListener(),
mSkin(theme != nullptr ? theme->load("windowmenu.xml", "",
- true, theme->getThemePath()) : nullptr),
+ true, Theme::getThemePath()) : nullptr),
mPadding(mSkin != nullptr ? mSkin->getPadding() : 1),
mSpacing(mSkin != nullptr ? mSkin->getOption("spacing", 3) : 3),
mButtons(),