From a55fa04353b3b7751f27bb6c31b749d185501fc2 Mon Sep 17 00:00:00 2001 From: therealfarfetchd Date: Thu, 27 Jun 2019 23:04:53 +0200 Subject: [PATCH] Enable HiDPI pixmaps to fix icon scaling for HiDPI displays --- application/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/application/main.cpp b/application/main.cpp index f724845e8..5c8512174 100644 --- a/application/main.cpp +++ b/application/main.cpp @@ -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