From 05fcb68175517d42b84d0281a57f423450c867f0 Mon Sep 17 00:00:00 2001 From: gg Date: Thu, 15 Jan 2026 12:56:50 -0500 Subject: [PATCH] Qt 5.12 compat (refactor) --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 79306493..2a6a5d13 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -83,8 +83,11 @@ if (AttachConsole(ATTACH_PARENT_PROCESS)) { #if defined(Q_OS_LINUX) // PassThrough results in muddy text +#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) QApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::Round); #endif + // --- +#endif for (int i = 1; i < argc; i++) { if (QString(argv[i]) == "--version" || QString(argv[i]) == "-v") { -- 2.52.0