Commit 78660abd authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Remove useless code

Kit names are unique already, no need to try and make them more

Change-Id: I315387808aec790b85ee301f22984eda81608467
Reviewed-by: default avatarDaniel Teske <>
parent 0ac20fc1
......@@ -153,13 +153,7 @@ void Project::addTarget(Target *t)
QTC_ASSERT(!target(t->kit()), return);
Q_ASSERT(t->project() == this);
// Check that we don't have a configuration with the same displayName
QString targetDisplayName = t->displayName();
QStringList displayNames;
foreach (const Target *target, d->m_targets)
displayNames << target->displayName();
targetDisplayName = makeUnique(targetDisplayName, displayNames);
// add it
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