Explorar o código

[launcher] enable High DPI

Laserlicht hai 1 ano
pai
achega
59b40c7871
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      launcher/main.cpp

+ 3 - 0
launcher/main.cpp

@@ -43,6 +43,9 @@ int MAIN_EXPORT main(int argc, char * argv[])
 	int result;
 #ifdef VCMI_IOS
 	{
+#endif
+#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
+	QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
 #endif
 	QApplication vcmilauncher(argc, argv);