mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-26 09:17:00 +00:00
NOISSUE Set AA_EnableHighDpiScaling for Qt >= 5.6.0
This commit is contained in:
parent
6dc1bc65e1
commit
edc25dab17
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user