NOISSUE Set AA_EnableHighDpiScaling for Qt >= 5.6.0

This commit is contained in:
Petr Mrázek 2017-04-26 22:17:27 +02:00
parent 6dc1bc65e1
commit edc25dab17

View File

@ -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);