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/theme.cpp | |
parent | cec43b2dca390a30ee71154a372f03ab498e18c2 (diff) | |
download | plus-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/theme.cpp')
-rw-r--r-- | src/gui/theme.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 171415ec0..3a8691f6b 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -1098,7 +1098,7 @@ void Theme::loadRect(ImageRect &image, Skin *const skin = load(name, name2, false, - theme->getThemePath()); + Theme::getThemePath()); if (skin != nullptr) { loadGrid(); @@ -1115,7 +1115,7 @@ Skin *Theme::loadSkinRect(ImageRect &image, Skin *const skin = load(name, name2, true, - theme->getThemePath()); + Theme::getThemePath()); if (skin != nullptr) loadGrid(); return skin; @@ -1141,7 +1141,7 @@ Image *Theme::getImageFromThemeXml(const std::string &name, Skin *const skin = theme->load(name, name2, false, - theme->getThemePath()); + Theme::getThemePath()); if (skin != nullptr) { const ImageRect &rect = skin->getBorder(); @@ -1167,7 +1167,7 @@ ImageSet *Theme::getImageSetFromThemeXml(const std::string &name, Skin *const skin = theme->load(name, name2, false, - theme->getThemePath()); + Theme::getThemePath()); if (skin != nullptr) { const ImageRect &rect = skin->getBorder(); |