summaryrefslogtreecommitdiff
path: root/kde-apps/akonadi-calendar/files/akonadi-calendar-22.08.3-fix-hidpi-scaling.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/akonadi-calendar/files/akonadi-calendar-22.08.3-fix-hidpi-scaling.patch')
-rw-r--r--kde-apps/akonadi-calendar/files/akonadi-calendar-22.08.3-fix-hidpi-scaling.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/kde-apps/akonadi-calendar/files/akonadi-calendar-22.08.3-fix-hidpi-scaling.patch b/kde-apps/akonadi-calendar/files/akonadi-calendar-22.08.3-fix-hidpi-scaling.patch
deleted file mode 100644
index 26698be849c4..000000000000
--- a/kde-apps/akonadi-calendar/files/akonadi-calendar-22.08.3-fix-hidpi-scaling.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From cb8e88e6b50a6edc399510b1a8d6307177f00bb7 Mon Sep 17 00:00:00 2001
-From: Moody Liu <mooodyhunter@outlook.com>
-Date: Fri, 14 Oct 2022 23:19:25 +0000
-Subject: [PATCH] kalendarac: set AA_EnableHighDpiScaling attribute before
- constructing QGuiApplication
-
----
- reminder-daemon/kalendaracmain.cpp | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/reminder-daemon/kalendaracmain.cpp b/reminder-daemon/kalendaracmain.cpp
-index 0566c7f..c0ae2be 100644
---- a/reminder-daemon/kalendaracmain.cpp
-+++ b/reminder-daemon/kalendaracmain.cpp
-@@ -12,10 +12,13 @@
-
- int main(int argc, char **argv)
- {
-+#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
-+ // set this attribute before contructing QGuiApplication
-+ QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
-+#endif
- QGuiApplication app(argc, argv);
- app.setQuitOnLastWindowClosed(false);
- #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
-- QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
- app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
- #endif
-
---
-GitLab
-