KitManager: Only setup sdk kits if we keep them

Change-Id: Iff56c8114590f99c70fbee31699ced2c9786dee7
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Daniel Teske
2015-07-21 11:55:58 +02:00
parent dffd71f4f1
commit f36c175240

View File

@@ -148,7 +148,6 @@ void KitManager::restoreKits()
k->setAutoDetected(true);
k->setSdkProvided(true);
k->makeSticky();
k->setup();
}
// SDK kits are always considered to be up for validation since they might have been
@@ -191,6 +190,8 @@ void KitManager::restoreKits()
break;
}
}
if (toStore == current)
toStore->setup();
addKit(toStore);
}