revert use of display and decoration
there can be only one name per role
This commit is contained in:
parent
0d6db0bbed
commit
0dc3b067d7
@ -37,8 +37,6 @@ RunnerModel::RunnerModel(QObject *parent)
|
|||||||
QHash<int, QByteArray> roles;
|
QHash<int, QByteArray> roles;
|
||||||
roles.insert(Qt::DisplayRole, "label");
|
roles.insert(Qt::DisplayRole, "label");
|
||||||
roles.insert(Qt::DecorationRole, "icon");
|
roles.insert(Qt::DecorationRole, "icon");
|
||||||
roles.insert(Qt::DisplayRole, "display");
|
|
||||||
roles.insert(Qt::DecorationRole, "decoration");
|
|
||||||
roles.insert(Type, "type");
|
roles.insert(Type, "type");
|
||||||
roles.insert(Relevance, "relevance");
|
roles.insert(Relevance, "relevance");
|
||||||
roles.insert(Data, "data");
|
roles.insert(Data, "data");
|
||||||
|
Loading…
Reference in New Issue
Block a user