revert use of display and decoration

there can be only one name per role
This commit is contained in:
Marco Martin 2012-10-08 13:42:08 +02:00
parent 0d6db0bbed
commit 0dc3b067d7

View File

@ -37,8 +37,6 @@ RunnerModel::RunnerModel(QObject *parent)
QHash<int, QByteArray> roles;
roles.insert(Qt::DisplayRole, "label");
roles.insert(Qt::DecorationRole, "icon");
roles.insert(Qt::DisplayRole, "display");
roles.insert(Qt::DecorationRole, "decoration");
roles.insert(Type, "type");
roles.insert(Relevance, "relevance");
roles.insert(Data, "data");