Warn when failing to restore auto-detected tool chains

Change-Id: If9582c35a35322efcd0d1666a6e52a62df98af21
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Hunger
2012-10-02 16:53:36 +02:00
parent 95167c9aba
commit 6bf583987a

View File

@@ -190,7 +190,11 @@ void ToolChainManager::restoreToolChains()
}
// 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
foreach (ToolChain *tc, tcsToRegister)