enable AA_UseHighDpiPixmaps (#1446)

enables AA_UseHighDpiPixmaps for less pixeled icons on 4K displays
This commit is contained in:
tompollok 2018-10-22 19:07:02 +02:00 committed by Daniel Marjamäki
parent 15160f1691
commit ae657d49e8
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ int main(int argc, char *argv[])
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)) #if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif #endif
QApplication app(argc, argv); QApplication app(argc, argv);