summaryrefslogtreecommitdiffstats
path: root/gui/pages/NotesPage.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/pages/NotesPage.h')
-rw-r--r--gui/pages/NotesPage.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/pages/NotesPage.h b/gui/pages/NotesPage.h
index bbe9d856..f77ea530 100644
--- a/gui/pages/NotesPage.h
+++ b/gui/pages/NotesPage.h
@@ -20,6 +20,7 @@
#include "logic/BaseInstance.h"
#include "logic/net/NetJob.h"
#include "BasePage.h"
+#include <MultiMC.h>
class EnabledItemFilter;
namespace Ui
@@ -40,9 +41,9 @@ public:
}
virtual QIcon icon() const override
{
- auto icon = QIcon::fromTheme("notes");
+ auto icon = MMC->getThemedIcon("notes");
if(icon.isNull())
- icon = QIcon::fromTheme("news");
+ icon = MMC->getThemedIcon("news");
return icon;
}
virtual QString id() const override