File Enable-high-dpi-pixmaps.patch of Package dragonplayer
From 45a68ef44acad7ef0988fc0b040e5cf693b5ba53 Mon Sep 17 00:00:00 2001
From: Harald Sitter <sitter@kde.org>
Date: Thu, 2 May 2019 14:03:48 +0200
Subject: Enable high-dpi pixmaps to ensure icons look correct with high-dpi
scaling
This should work properly as-is, the only custom pixmap logic we seem to
have is in the block analyzer and that all runs through qpainter and is
correctly adjusted for devicepixelratio.
BUG: 407134
FIXED-IN: 19.04.1
---
src/app/main.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/app/main.cpp b/src/app/main.cpp
index e88d344..e72afd0 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -38,6 +38,7 @@
int main( int argc, char **argv )
{
+ QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
Dragon::PlayerApplication app(argc, argv);
app.setOrganizationDomain("org.kde");
KCrash::initialize();
--
cgit v1.1