From 5c824a0dd6740d5e2e1c4efd81fe4de1feac2478 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Mon, 10 Jun 2013 16:33:04 +0200 Subject: [PATCH] Welcome screen: Show real name of kit in examples combo box Show the display name of the kit, instead of computing a generic one out of the Qt version. Change-Id: I9d3700bdd64a686f1761c073a47b57153c2ca10b Reviewed-by: Eike Ziller --- src/plugins/qtsupport/exampleslistmodel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/qtsupport/exampleslistmodel.cpp b/src/plugins/qtsupport/exampleslistmodel.cpp index 7ede5e1b076..baad1896c43 100644 --- a/src/plugins/qtsupport/exampleslistmodel.cpp +++ b/src/plugins/qtsupport/exampleslistmodel.cpp @@ -111,8 +111,7 @@ public: foreach (BaseQtVersion *version, qtVersions) { QStandardItem *newItem = new QStandardItem(); - newItem->setData(QString::fromLatin1("Qt %1 (%2)").arg(version->qtVersionString()).arg(version->platformDisplayName()), - Qt::UserRole + 1); + newItem->setData(version->displayName(), Qt::UserRole + 1); newItem->setData(version->uniqueId(), Qt::UserRole + 2); appendRow(newItem); }