aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kconfig_compiler/KConfigHeaderGenerator.cpp14
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:";