diff options
| author | Tomaz Canabrava <tcanabraba@kde.org> | 2021-10-21 10:51:16 +0200 | 
|---|---|---|
| committer | Tomaz Canabrava <tcanabrava@kde.org> | 2021-11-23 14:36:57 +0000 | 
| commit | 829cc003ee4f21e91d806a2e2a353ae709ab999f (patch) | |
| tree | e5ffbda109b10079cab5fc556b6a8516f4b78ce2 /src | |
| parent | e16ab18ed8e588ea14b219d5738e9dc9f5fc5cf6 (diff) | |
| download | kconfig-829cc003ee4f21e91d806a2e2a353ae709ab999f.tar.gz kconfig-829cc003ee4f21e91d806a2e2a353ae709ab999f.tar.bz2 | |
Add missing changes
Diffstat (limited to 'src')
| -rw-r--r-- | src/kconfig_compiler/KConfigSourceGenerator.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/kconfig_compiler/KConfigSourceGenerator.cpp b/src/kconfig_compiler/KConfigSourceGenerator.cpp index 45299a4f..9953a15d 100644 --- a/src/kconfig_compiler/KConfigSourceGenerator.cpp +++ b/src/kconfig_compiler/KConfigSourceGenerator.cpp @@ -318,7 +318,8 @@ void KConfigSourceGenerator::createNormalEntry(const CfgEntry *entry, const QStr      for (const CfgEntry::Choice &choice : std::as_const(entry->choices.choices)) {          if (!choice.val.isEmpty()) { -            stream() << "  " << itemVarStr << "->setValueForChoice(QStringLiteral( \"" << choice.name << "\" ), QStringLiteral( \"" << choice.val << "\" ));\n"; +            stream() << "  " << innerItemVarStr << "->setValueForChoice(QStringLiteral( \"" << choice.name << "\" ), QStringLiteral( \"" << choice.val +                     << "\" ));\n";          }      } | 
