diff options
| author | Friedrich W. H. Kossebau <kossebau@kde.org> | 2021-01-14 19:07:26 +0100 | 
|---|---|---|
| committer | Friedrich W. H. Kossebau <kossebau@kde.org> | 2021-01-14 19:07:26 +0100 | 
| commit | e4a8a8806c3ebefea4841a59ddee2db8f0d8117a (patch) | |
| tree | 1cb53514be4cc97fc7dc22a89ffbdc09aa3addb3 | |
| parent | 6aa8ad50cec0ac1a0e798d2f141f18cff35d8009 (diff) | |
| download | kconfig-e4a8a8806c3ebefea4841a59ddee2db8f0d8117a.tar.gz kconfig-e4a8a8806c3ebefea4841a59ddee2db8f0d8117a.tar.bz2 | |
Qt::dec & Qt::hex are already in Qt 5.14
NO_CHANGELOG
| -rw-r--r-- | src/kconfig_compiler/KConfigHeaderGenerator.cpp | 14 | 
1 files changed, 2 insertions, 12 deletions
| diff --git a/src/kconfig_compiler/KConfigHeaderGenerator.cpp b/src/kconfig_compiler/KConfigHeaderGenerator.cpp index 8bc5f47d..43a80a60 100644 --- a/src/kconfig_compiler/KConfigHeaderGenerator.cpp +++ b/src/kconfig_compiler/KConfigHeaderGenerator.cpp @@ -245,12 +245,7 @@ void KConfigHeaderGenerator::createSignals()      for (int i = 0, end = parseResult.signalList.size(); i < end; i++) {          auto signal = parseResult.signalList.at(i);          stream() << whitespace() << "  " << signalEnumName(signal.name) << " = 0x" -                 << -            #if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0)) -                    hex -            #else -                    Qt::hex -            #endif +                 << Qt::hex                   << val;          if (i != end-1) {              stream() << ",\n"; @@ -260,12 +255,7 @@ void KConfigHeaderGenerator::createSignals()      }      stream() << '\n';      stream() << whitespace() << "};" -             << -            #if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0)) -                    dec -            #else -                    Qt::dec -            #endif +             << Qt::dec               << "\n\n";      stream() << "  Q_SIGNALS:"; | 
