mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 19:47:46 -07:00
Enable HiDpiPixmaps for Qt5
This commit is contained in:
parent
c917a6c272
commit
8a6d63265f
1 changed files with 3 additions and 1 deletions
|
|
@ -215,7 +215,9 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
ui.show();
|
ui.show();
|
||||||
qDebug("main(): ui.show() finished");
|
qDebug("main(): ui.show() finished");
|
||||||
|
#if QT_VERSION > 0x050000
|
||||||
|
app.setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||||
|
#endif
|
||||||
app.exec();
|
app.exec();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue