aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/projectexplorer/projectimporter.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/plugins/projectexplorer/projectimporter.cpp b/src/plugins/projectexplorer/projectimporter.cpp
index ba1114a2b6..abbc3855b1 100644
--- a/src/plugins/projectexplorer/projectimporter.cpp
+++ b/src/plugins/projectexplorer/projectimporter.cpp
@@ -292,16 +292,9 @@ Kit *ProjectImporter::createTemporaryKit(const KitSetupFunction &setup) const
{
KitGuard kitGuard(kptr);
k->setUnexpandedDisplayName(QCoreApplication::translate("ProjectExplorer::ProjectImporter", "Imported Kit"));;
-
- // Set up values:
- for (KitAspect *aspect : KitManager::kitAspects())
- aspect->setup(kptr);
-
+ k->setup();
setup(kptr);
-
- for (KitAspect *aspect : KitManager::kitAspects())
- aspect->fix(kptr);
-
+ k->fix();
markKitAsTemporary(kptr);
addProject(kptr);
} // ~KitGuard, sending kitUpdated