diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-02-01 18:54:58 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-04-12 20:57:17 +0200 |
commit | 382ae78a0bf75892827321b052c6afbd195476bc (patch) | |
tree | 9e06d49f018dc8cd689372b6a9c51c2a2c9f219e /logic/InstanceList.cpp | |
parent | aa70ed2244700dbcc93c1fadb22edc1c1caede37 (diff) | |
download | MultiMC-382ae78a0bf75892827321b052c6afbd195476bc.tar MultiMC-382ae78a0bf75892827321b052c6afbd195476bc.tar.gz MultiMC-382ae78a0bf75892827321b052c6afbd195476bc.tar.lz MultiMC-382ae78a0bf75892827321b052c6afbd195476bc.tar.xz MultiMC-382ae78a0bf75892827321b052c6afbd195476bc.zip |
Fix NagUtils and hack GroupView to work
Diffstat (limited to 'logic/InstanceList.cpp')
-rw-r--r-- | logic/InstanceList.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/logic/InstanceList.cpp b/logic/InstanceList.cpp index b6ac38a8..4e275254 100644 --- a/logic/InstanceList.cpp +++ b/logic/InstanceList.cpp @@ -36,7 +36,6 @@ #include "OneSixInstance.h" #include "LegacyInstance.h" #include "logger/QsLog.h" -#include "gui/groupview/GroupView.h" const static int GROUP_FILE_FORMAT_VERSION = 1; @@ -99,8 +98,8 @@ QVariant InstanceList::data(const QModelIndex &index, int role) const QString key = pdata->iconKey(); return ENV.icons()->getIcon(key); } - // for now. - case GroupViewRoles::GroupRole: + // HACK: see GroupView.h in gui! + case GroupRole: { return pdata->group(); } |