1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00

[launcher] enable High DPI

This commit is contained in:
Laserlicht 2024-04-29 14:00:16 +03:00 committed by Andrey Filipenkov
parent aa33a13c1c
commit 59b40c7871

View File

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