Do not expand display name when updating auto-detected Qt versions

Task-number: QTCREATORBUG-13989
Change-Id: Id1e3d756f732b41e544f08ef74432002b7b8dc9f
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Kai Koehne
2015-02-18 10:44:57 +01:00
parent fb23daaf0a
commit 5ab7500b64

View File

@@ -351,7 +351,7 @@ void QtVersionManager::updateFromInstaller(bool emitSignal)
qDebug() << " Qt version found with same autodetection source" << autoDetectionSource << " => Migrating id:" << id;
m_versions.remove(id);
qtversionMap[QLatin1String(Constants::QTVERSIONID)] = id;
qtversionMap[QLatin1String(Constants::QTVERSIONNAME)] = v->displayName();
qtversionMap[QLatin1String(Constants::QTVERSIONNAME)] = v->unexpandedDisplayName();
delete v;
if (BaseQtVersion *qtv = factory->restore(type, qtversionMap)) {