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

Kits: Do not allow kits with empty names



Change-Id: Id30080cebd7aeb0917516d7d94200f90bd531397
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 0e7cb4b1
......@@ -219,6 +219,7 @@ void Kit::setDisplayName(const QString &name)
QList<KitInformation *> kitInfo = km->kitInformation();
QStringList nameList;
nameList << QString(); // Disallow empty kit names!
foreach (Kit *k, km->kits()) {
if (k == this)
continue;
......
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