diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-03-01 22:20:57 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-03-01 22:20:57 +0100 |
commit | ceec70e014db629aa8ba3472839cc42781d73d4c (patch) | |
tree | 1de0150b51fceb85d9ffa330b3dcd70580b33082 /gui/pages/ModFolderPage.h | |
parent | ef34cafe174271a423418d7eb68c4b4096642223 (diff) | |
download | MultiMC-ceec70e014db629aa8ba3472839cc42781d73d4c.tar MultiMC-ceec70e014db629aa8ba3472839cc42781d73d4c.tar.gz MultiMC-ceec70e014db629aa8ba3472839cc42781d73d4c.tar.lz MultiMC-ceec70e014db629aa8ba3472839cc42781d73d4c.tar.xz MultiMC-ceec70e014db629aa8ba3472839cc42781d73d4c.zip |
GH-796 Icon theme loading workaround
Replacing the Qt machinery with other Qt machinery under our control
Diffstat (limited to 'gui/pages/ModFolderPage.h')
-rw-r--r-- | gui/pages/ModFolderPage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/pages/ModFolderPage.h b/gui/pages/ModFolderPage.h index 09f6adc7..8859ad99 100644 --- a/gui/pages/ModFolderPage.h +++ b/gui/pages/ModFolderPage.h @@ -20,6 +20,7 @@ #include "logic/OneSixInstance.h" #include "logic/net/NetJob.h" #include "BasePage.h" +#include <MultiMC.h> class EnabledItemFilter; class ModList; @@ -43,7 +44,7 @@ public: } virtual QIcon icon() const override { - return QIcon::fromTheme(m_iconName); + return MMC->getThemedIcon(m_iconName); } virtual QString id() const override { |