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

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

Task-number: QTCREATORBUG-13989
Change-Id: Id1e3d756f732b41e544f08ef74432002b7b8dc9f
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent fb23daaf
......@@ -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)) {
......
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