Commit d19b0b6c authored by Boudewijn Rempt's avatar Boudewijn Rempt

BUG:414536 Use correct version check

parent bbb9075c
...@@ -467,7 +467,7 @@ extern "C" int main(int argc, char **argv) ...@@ -467,7 +467,7 @@ extern "C" int main(int argc, char **argv)
// Icons in menus are ugly and distracting // Icons in menus are ugly and distracting
app.setAttribute(Qt::AA_DontShowIconsInMenus); app.setAttribute(Qt::AA_DontShowIconsInMenus);
} }
#if (QT_VERSION < QT_VERSION_CHECK(5, 10, 0)) #if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
app.setAttribute(Qt::AA_DisableWindowContextHelpButton); app.setAttribute(Qt::AA_DisableWindowContextHelpButton);
#endif #endif
app.installEventFilter(KisQtWidgetsTweaker::instance()); app.installEventFilter(KisQtWidgetsTweaker::instance());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment