From f02e731a0519e668caacedb4f45506ac70e097cd Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Wed, 29 Jul 2015 14:48:29 +0200 Subject: [PATCH] enable support for high dpi pixmaps CHANGELOG: Improve HiDPI support for Konsole --- src/Application.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Application.cpp b/src/Application.cpp index 0857eaf2d..796e4ef48 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -48,6 +48,9 @@ void Application::init() { _backgroundInstance = 0; + // enable high dpi support + setAttribute(Qt::AA_UseHighDpiPixmaps, true); + #if defined(Q_OS_MAC) // this ensures that Ctrl and Meta are not swapped, so CTRL-C and friends // will work correctly in the terminal