diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-10-27 00:15:52 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-10-27 00:15:52 +0100 |
commit | 547f6f77d02caf41bd681d1bf2553a8b8af1c2e6 (patch) | |
tree | 13e61cd90372adb088cb0e855896d0bba1987118 /gui/pages/global/AccountListPage.h | |
parent | 8f7aec032b11a2e2b3034c9d9719a74726dad130 (diff) | |
download | MultiMC-547f6f77d02caf41bd681d1bf2553a8b8af1c2e6.tar MultiMC-547f6f77d02caf41bd681d1bf2553a8b8af1c2e6.tar.gz MultiMC-547f6f77d02caf41bd681d1bf2553a8b8af1c2e6.tar.lz MultiMC-547f6f77d02caf41bd681d1bf2553a8b8af1c2e6.tar.xz MultiMC-547f6f77d02caf41bd681d1bf2553a8b8af1c2e6.zip |
Add iOS and OSX icon themes by pe
Diffstat (limited to 'gui/pages/global/AccountListPage.h')
-rw-r--r-- | gui/pages/global/AccountListPage.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gui/pages/global/AccountListPage.h b/gui/pages/global/AccountListPage.h index fd2c96e3..cc695614 100644 --- a/gui/pages/global/AccountListPage.h +++ b/gui/pages/global/AccountListPage.h @@ -42,7 +42,12 @@ public: } QIcon icon() const override { - return QIcon::fromTheme("noaccount"); + auto icon = QIcon::fromTheme("accounts"); + if(icon.isNull()) + { + icon = QIcon::fromTheme("noaccount"); + } + return icon; } QString id() const override { |