diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-01-01 04:17:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-01-01 17:20:41 +0300 |
commit | c508209585cc7153d77d22ddb7b4ce6a291d00de (patch) | |
tree | 124338089a53a9aafd32851743f8e90be33123b1 /src/gui/windowmenu.cpp | |
parent | cec43b2dca390a30ee71154a372f03ab498e18c2 (diff) | |
download | manaplus-c508209585cc7153d77d22ddb7b4ce6a291d00de.tar.gz manaplus-c508209585cc7153d77d22ddb7b4ce6a291d00de.tar.bz2 manaplus-c508209585cc7153d77d22ddb7b4ce6a291d00de.tar.xz manaplus-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.cpp | 2 |
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(), |