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

Do not make kit names needlessly ugly



Change-Id: I18590604c307f0da831aa15efaf113633cd9a014
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 90357124
...@@ -150,6 +150,8 @@ void Kit::setDisplayName(const QString &name) ...@@ -150,6 +150,8 @@ void Kit::setDisplayName(const QString &name)
QStringList nameList; QStringList nameList;
foreach (Kit *p, pm->kits()) { foreach (Kit *p, pm->kits()) {
if (p == this)
continue;
nameList << p->displayName(); nameList << p->displayName();
foreach (KitInformation *ki, kitInfo) { foreach (KitInformation *ki, kitInfo) {
const QString postfix = ki->displayNamePostfix(p); const QString postfix = ki->displayNamePostfix(p);
......
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