ports/net/nheko/patches/patch-src_main_cpp

13 lines
420 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: src/main.cpp
--- src/main.cpp.orig
+++ src/main.cpp
@@ -162,7 +162,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();