From dc1fb1b4543d07ae259691256f670d9795f402f0 Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Wed, 22 Feb 2023 08:12:19 +0400 Subject: [PATCH] Honour Qt scaling factor on OpenBSD Instead of completing the list of Linux, Windows and the BSDs (NetBSD and DragonFly would still be missing), simply flip it to not-macOS to simplify and fix the two other aforementioned BSDs at once. --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index c4ee83f3..44d0dd64 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -159,7 +159,7 @@ main(int argc, char *argv[]) // this needs to be after setting the application name. Or how would we find our settings // file then? -#if defined(Q_OS_LINUX) || defined(Q_OS_WIN) || defined(Q_OS_FREEBSD) +#if !defined(Q_OS_MACOS) if (qgetenv("QT_SCALE_FACTOR").size() == 0) { float factor = utils::scaleFactor();