summary refs log tree commit diff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2024-06-20 21:40:53 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2024-06-20 21:40:53 +0200
commit311d9ad31e89fb023eb3638d446774f3a9d06281 (patch)
tree4455337eab960dda0476261aa11b77b5b6d2151d /src/main.cpp
parentFix tray icon badge count not getting updated since 838b091acd07b681fc52f6f70... (diff)
downloadnheko-311d9ad31e89fb023eb3638d446774f3a9d06281.tar.xz
Allow setting a scale factor on Windows
Fixes #1756
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp

index 392867bb..bdfb84e7 100644 --- a/src/main.cpp +++ b/src/main.cpp
@@ -169,7 +169,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_UNIX) && !defined(Q_OS_MACOS) +#if !defined(Q_OS_MACOS) if (qgetenv("QT_SCALE_FACTOR").size() == 0) { float factor = utils::scaleFactor();