diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2021-11-17 13:43:48 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2021-11-23 14:36:57 +0000 |
commit | e40531e29e2ff52d67156aa8ae7691488ca1c29b (patch) | |
tree | e913f4ea8c095a0a455f74c06c1af366c583ccd8 /src/kconfig_compiler | |
parent | 0d742a8daf55311f048a6959d6641a9a95a2eb04 (diff) | |
download | kconfig-e40531e29e2ff52d67156aa8ae7691488ca1c29b.tar.gz kconfig-e40531e29e2ff52d67156aa8ae7691488ca1c29b.tar.bz2 |
Use innerVarStr instead of varStr for choices
Diffstat (limited to 'src/kconfig_compiler')
-rw-r--r-- | src/kconfig_compiler/KConfigSourceGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kconfig_compiler/KConfigSourceGenerator.cpp b/src/kconfig_compiler/KConfigSourceGenerator.cpp index 9953a15d..d83c1bb4 100644 --- a/src/kconfig_compiler/KConfigSourceGenerator.cpp +++ b/src/kconfig_compiler/KConfigSourceGenerator.cpp @@ -368,7 +368,7 @@ void KConfigSourceGenerator::createIndexedEntry(const CfgEntry *entry, const QSt for (const CfgEntry::Choice &choice : std::as_const(entry->choices.choices)) { if (!choice.val.isEmpty()) { - stream() << " " << itemVarStr << "->setValueForChoice(QStringLiteral( \"" << choice.name << "\" ), QStringLiteral( \"" << choice.val + stream() << " " << innerItemVarStr << "->setValueForChoice(QStringLiteral( \"" << choice.name << "\" ), QStringLiteral( \"" << choice.val << "\" ));\n"; } } |