Commit c9f4d24c authored by Tobias Hunger's avatar Tobias Hunger
Browse files

ToolChains: Accept autodetected duplicates

This is to prevent throwing out tool chains the SDK wants to register.

Change-Id: Ia49552bcffd98cf4579784047f9a425b2279b83f
Reviewed-by: default avatarDaniel Teske <>
parent 7e74c9b4
......@@ -328,7 +328,7 @@ bool ToolChainManager::registerToolChain(ToolChain *tc)
if (!tc || d->toolChains().contains(tc))
return true;
foreach (ToolChain *current, d->toolChains()) {
if (*tc == *current)
if (*tc == *current && !tc->isAutoDetected())
return false;
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