Commit 6bf58398 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Warn when failing to restore auto-detected tool chains



Change-Id: If9582c35a35322efcd0d1666a6e52a62df98af21
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 95167c9a
...@@ -190,7 +190,11 @@ void ToolChainManager::restoreToolChains() ...@@ -190,7 +190,11 @@ void ToolChainManager::restoreToolChains()
} }
// Delete all loaded autodetected tool chains that were not rediscovered: // Delete all loaded autodetected tool chains that were not rediscovered:
qDeleteAll(tcsToCheck); foreach (ToolChain *tc, tcsToCheck) {
qWarning() << QString::fromLatin1("ToolChain \"%1\" (%2) dropped since it was not auto-detected again")
.arg(tc->displayName()).arg(tc->id());
delete tc;
}
// Store manual tool chains // Store manual tool chains
foreach (ToolChain *tc, tcsToRegister) foreach (ToolChain *tc, tcsToRegister)
......
Supports Markdown
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