[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [ktouch/homescreen-ng] src: Enable HiDPI Rendering
From: Sebastian Gottfried <null () kde ! org>
Date: 2017-10-31 16:16:46
Message-ID: E1e9ZDa-00021i-7A () code ! kde ! org
[Download RAW message or body]
Git commit 5aca9481b8998a0005c0101b0baff32d195c8eb4 by Sebastian Gottfried.
Committed on 31/10/2017 at 14:33.
Pushed by gottfried into branch 'homescreen-ng'.
Enable HiDPI Rendering
Except for a few pixelated icons HiDPI rendering works as expected.
M +2 -0 src/main.cpp
https://commits.kde.org/ktouch/5aca9481b8998a0005c0101b0baff32d195c8eb4
diff --git a/src/main.cpp b/src/main.cpp
index 3b7739c..cb94dc1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -26,6 +26,8 @@
=
int main(int argc, char **argv)
{
+ QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+
Application app(argc, argv);
=
KLocalizedString::setApplicationDomain("ktouch");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic