summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorKlemens Nanni <klemens@posteo.de>2023-02-22 08:12:19 +0400
committerKlemens Nanni <klemens@posteo.de>2023-02-23 09:14:31 +0400
commitdc1fb1b4543d07ae259691256f670d9795f402f0 (patch)
treeed3d2a625fb18bfb2826ebd2521647b7372c296e /src
parentRecognise OpenBSD on login page (diff)
downloadnheko-dc1fb1b4543d07ae259691256f670d9795f402f0.tar.xz
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.
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
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();