Enable HiDPI pixmaps to fix icon scaling for HiDPI displays

This commit is contained in:
therealfarfetchd 2019-06-27 23:04:53 +02:00
parent fde43c993e
commit a55fa04353

View File

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