summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <[email protected]>2015-07-29 14:48:29 +0200
committerChristoph Cullmann <[email protected]>2015-07-29 14:49:46 +0200
commitc4d4bd5b47ebb328f09dec97851e95b7eb47e3d1 (patch)
treec455fddd0bd788f08c154b2aab17251aac1d4f64
parent5a18e2f10785f481e83e107f27b1cccebe99d6d2 (diff)
enable support for high dpi pixmapsv15.07.90
CHANGELOG: Improve HiDPI support for Konsole
-rw-r--r--src/Application.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Application.cpp b/src/Application.cpp
index 0857eaf..796e4ef 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