Fix NagUtils and hack GroupView to work

This commit is contained in:
Petr Mrázek
2015-02-01 18:54:58 +01:00
parent aa70ed2244
commit 382ae78a0b
10 changed files with 14 additions and 15 deletions

View File

@ -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();
}