From edc25dab17776e5e1b748006a12abfed5b9478b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Wed, 26 Apr 2017 22:17:27 +0200 Subject: [PATCH] NOISSUE Set AA_EnableHighDpiScaling for Qt >= 5.6.0 --- application/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/main.cpp b/application/main.cpp index 0f2589260..48983dd65 100644 --- a/application/main.cpp +++ b/application/main.cpp @@ -28,6 +28,10 @@ int main(int argc, char *argv[]) return 42; #endif +#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)) + QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); +#endif + // initialize Qt MultiMC app(argc, argv);