Commit 5c824a0d authored by Kai Koehne's avatar Kai Koehne

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: default avatarEike Ziller <eike.ziller@digia.com>
parent 17106e69
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment