forked from qt-creator/qt-creator
ProjectExplorer: Remove replacement kits
... for which the original kit has turned up again. Otherwise we'd have more than one kit with the same id. Fixes: QTCREATORBUG-24589 Change-Id: I7ce16615694d3d2c5a5441f676ecb7dc85c2239c Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -776,6 +776,7 @@ void Project::createTargetFromMap(const QVariantMap &map, int index)
|
||||
Utils::transform(KitManager::kits(), &Kit::unexpandedDisplayName));
|
||||
kit->setUnexpandedDisplayName(tempKitName);
|
||||
DeviceTypeKitAspect::setDeviceTypeId(kit, deviceTypeId);
|
||||
kit->makeReplacementKit();
|
||||
kit->setup();
|
||||
}, id);
|
||||
TaskHub::addTask(BuildSystemTask(Task::Warning, tr("Project \"%1\" was configured for "
|
||||
|
||||
Reference in New Issue
Block a user