summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemcontainer.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/widgets/itemcontainer.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/widgets/itemcontainer.cpp')
-rw-r--r--src/gui/widgets/itemcontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp
index 19d3a30b3..0d2472277 100644
--- a/src/gui/widgets/itemcontainer.cpp
+++ b/src/gui/widgets/itemcontainer.cpp
@@ -237,7 +237,7 @@ ItemContainer::ItemContainer(const Widget2 *const widget,
mName(),
mShowMatrix(nullptr),
mSkin(theme != nullptr ? theme->load("itemcontainer.xml", "",
- true, theme->getThemePath()) : nullptr),
+ true, Theme::getThemePath()) : nullptr),
mVertexes(new ImageCollection),
mEquipedColor(getThemeColor(ThemeColorId::ITEM_EQUIPPED, 255U)),
mEquipedColor2(getThemeColor(ThemeColorId::ITEM_EQUIPPED_OUTLINE, 255U)),