From ae657d49e8553dd9b09972d7f2936a2133a677a5 Mon Sep 17 00:00:00 2001 From: tompollok Date: Mon, 22 Oct 2018 19:07:02 +0200 Subject: [PATCH] enable AA_UseHighDpiPixmaps (#1446) enables AA_UseHighDpiPixmaps for less pixeled icons on 4K displays --- gui/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/main.cpp b/gui/main.cpp index c61bfa3f8..4ef839c55 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -44,6 +44,7 @@ int main(int argc, char *argv[]) #if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)) QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); #endif QApplication app(argc, argv);