From 311d9ad31e89fb023eb3638d446774f3a9d06281 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 20 Jun 2024 21:40:53 +0200 Subject: Allow setting a scale factor on Windows Fixes #1756 --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') 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(); -- cgit 1.5.1