Commit f36c1752 authored by Daniel Teske's avatar Daniel Teske

KitManager: Only setup sdk kits if we keep them

Change-Id: Iff56c8114590f99c70fbee31699ced2c9786dee7
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent dffd71f4
......@@ -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);
}
......
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