aboutsummaryrefslogtreecommitdiff
path: root/launcher/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/main.cpp')
-rw-r--r--launcher/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/launcher/main.cpp b/launcher/main.cpp
index 8b572743..275fff32 100644
--- a/launcher/main.cpp
+++ b/launcher/main.cpp
@@ -29,6 +29,10 @@ int main(int argc, char *argv[])
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
+ QApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
+#endif
+
// initialize Qt
Application app(argc, argv);