diff options
Diffstat (limited to 'src/resources/theme.h')
-rw-r--r-- | src/resources/theme.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/resources/theme.h b/src/resources/theme.h index ae795ed4..434bd6d8 100644 --- a/src/resources/theme.h +++ b/src/resources/theme.h @@ -107,7 +107,7 @@ class Theme : public Palette, public EventListener static void deleteInstance(); static void prepareThemePath(); - static std::string getThemePath() { return mThemePath; } + static const std::string &getThemePath() { return mThemePath; } /** * Returns the patch to the given gui resource relative to the theme @@ -227,10 +227,7 @@ class Theme : public Palette, public EventListener Skin *readSkin(const std::string &filename); // Map containing all window skins - using Skins = std::map<std::string, Skin *>; - using SkinIterator = Skins::iterator; - - Skins mSkins; + std::map<std::string, Skin *> mSkins; static std::string mThemePath; static Theme *mInstance; @@ -245,8 +242,7 @@ class Theme : public Palette, public EventListener */ float mMinimumOpacity; - using ProgressColors = std::vector<DyePalette *>; - ProgressColors mProgressColors; + std::vector<DyePalette *> mProgressColors; }; #endif |