summaryrefslogtreecommitdiff
path: root/quacker/main.cpp
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2023-07-15 20:55:39 -0500
committerJohn Fultz <jfultz@wolfram.com>2023-07-16 08:29:42 -0500
commit07c06961b45eaf6ba0a53bcef8761798a5b55158 (patch)
tree463b8df1ae05594bd820130aa47542ea25fe92d3 /quacker/main.cpp
parent525f330420d6f3b112dbae36c2fb9769265321a8 (diff)
More Qt6-ish things that were probably a bad idea even in Qt5.
Diffstat (limited to 'quacker/main.cpp')
-rw-r--r--quacker/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/quacker/main.cpp b/quacker/main.cpp
index 57728af..6aa1368 100644
--- a/quacker/main.cpp
+++ b/quacker/main.cpp
@@ -61,7 +61,7 @@ private:
int main(int argc, char **argv)
{
-#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) && QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
QuackerApplication a(argc, argv);