From f34cb38798e8a7d3f9a39f26be4ecab3013ea57c Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Tue, 5 Oct 2021 22:36:30 +0200 Subject: [PATCH] Enable highdpi pixmaps This fixes icons being pixelated on highdpi screens --- rkward/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rkward/main.cpp b/rkward/main.cpp index 8eafd25c..7dcb34a5 100644 --- a/rkward/main.cpp +++ b/rkward/main.cpp @@ -239,6 +239,7 @@ QString resolveRSpecOrFail (QString input, QString message) { int main (int argc, char *argv[]) { RK_Debug::RK_Debug_Level = DL_WARNING; + QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); #ifndef NO_QT_WEBENGINE // annoyingly, QWebEngineUrlSchemes have to be registered before creating the app. QWebEngineUrlScheme scheme("help"); -- GitLab