summaryrefslogtreecommitdiffstats
path: root/gui/pages/global/AccountListPage.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/pages/global/AccountListPage.h')
-rw-r--r--gui/pages/global/AccountListPage.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/pages/global/AccountListPage.h b/gui/pages/global/AccountListPage.h
index 87f773d9..9fd894b8 100644
--- a/gui/pages/global/AccountListPage.h
+++ b/gui/pages/global/AccountListPage.h
@@ -21,6 +21,7 @@
#include "gui/pages/BasePage.h"
#include "logic/auth/MojangAccountList.h"
+#include <MultiMC.h>
namespace Ui
{
@@ -42,10 +43,10 @@ public:
}
QIcon icon() const override
{
- auto icon = QIcon::fromTheme("accounts");
+ auto icon = MMC->getThemedIcon("accounts");
if(icon.isNull())
{
- icon = QIcon::fromTheme("noaccount");
+ icon = MMC->getThemedIcon("noaccount");
}
return icon;
}