UI: Enable high dpi pixmaps.

This commit is contained in:
Nodir Temirkhodjaev 2017-12-20 19:15:48 +05:00
parent b60f7e0adf
commit f6a1aa6d63

View File

@ -9,7 +9,8 @@
int main(int argc, char *argv[])
{
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QApplication app(argc, argv);
app.setApplicationName(APP_NAME);