summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r--src/gui/theme.cpp8
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();