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/widgets/PageContainer.cpp | |
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/widgets/PageContainer.cpp')
-rw-r--r-- | gui/widgets/PageContainer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/widgets/PageContainer.cpp b/gui/widgets/PageContainer.cpp index b84594c1..59b800cc 100644 --- a/gui/widgets/PageContainer.cpp +++ b/gui/widgets/PageContainer.cpp @@ -32,6 +32,7 @@ #include "gui/widgets/IconLabel.h" #include "gui/Platform.h" #include "PageContainer_p.h" +#include <MultiMC.h> class PageEntryFilterModel : public QSortFilterProxyModel { @@ -174,7 +175,7 @@ void PageContainer::showPage(int row) { m_pageStack->setCurrentIndex(0); m_header->setText(QString()); - m_iconHeader->setIcon(QIcon::fromTheme("bug")); + m_iconHeader->setIcon(MMC->getThemedIcon("bug")); } } |