1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-15 20:03:15 +02:00

#2590 enable high dpi

This commit is contained in:
Laserlicht
2024-05-16 00:32:15 +02:00
parent 9628001f57
commit 0c5fb8125f

View File

@@ -13,6 +13,10 @@
int main(int argc, char * argv[])
{
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
QApplication vcmieditor(argc, argv);
MainWindow mainWindow;
return vcmieditor.exec();