summaryrefslogtreecommitdiff
path: root/media-gfx/kgraphviewer/files/kgraphviewer-2.4.3-highdpi.patch
blob: 8b31d40fb157b2a5be50a5399c71361c54fe78f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 9961c92736abfc6d0aedea9c4e7c679e1fd564d2 Mon Sep 17 00:00:00 2001
From: Nicolas Fella <nicolas.fella@gmx.de>
Date: Mon, 7 Mar 2022 19:49:21 +0100
Subject: [PATCH] Enable highdpi pixmaps

---
 src/main.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main.cpp b/src/main.cpp
index 32ad115..271e61f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -38,6 +38,7 @@
 
 int main(int argc, char **argv)
 {
+  QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
   QApplication app(argc, argv);
 
   KLocalizedString::setApplicationDomain("kgraphviewer");
-- 
GitLab