From 0dc3b067d720d62d510272b3f744285068cab74c Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Mon, 8 Oct 2012 13:42:08 +0200 Subject: [PATCH] revert use of display and decoration there can be only one name per role --- declarativeimports/core/runnermodel.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/declarativeimports/core/runnermodel.cpp b/declarativeimports/core/runnermodel.cpp index 01996bc78..5bd5db1e1 100644 --- a/declarativeimports/core/runnermodel.cpp +++ b/declarativeimports/core/runnermodel.cpp @@ -37,8 +37,6 @@ RunnerModel::RunnerModel(QObject *parent) QHash 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");