diff options
-rw-r--r-- | src/kconfig_compiler/kconfig_compiler.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/kconfig_compiler/kconfig_compiler.cpp b/src/kconfig_compiler/kconfig_compiler.cpp index c5bcdc1b..ea68fec6 100644 --- a/src/kconfig_compiler/kconfig_compiler.cpp +++ b/src/kconfig_compiler/kconfig_compiler.cpp @@ -1232,12 +1232,7 @@ QString newItem(const CfgEntry* entry, const QString &key, const QString& defaul t += ", values" + entry->name(); } if (!defaultValue.isEmpty()) { - t += QLatin1String(", "); - if (entry->type() == QLatin1String("String")) { - t += defaultValue; - } else { - t += defaultValue; - } + t += QLatin1String(", ") + defaultValue; } t += QLatin1String(" )"); |