summaryrefslogtreecommitdiff
path: root/user/calligra/kf5.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-30 00:54:41 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-30 00:54:41 +0000
commiteeed8cb17ee92cfa3c37e1c89f783167f05b7346 (patch)
treecb545b0d9adfa24a78c18681fd766af50cf15b66 /user/calligra/kf5.patch
parent741fabe434cf9c71a49e10c7aa378bd1cc86652d (diff)
downloadpackages-eeed8cb17ee92cfa3c37e1c89f783167f05b7346.tar.gz
packages-eeed8cb17ee92cfa3c37e1c89f783167f05b7346.tar.bz2
packages-eeed8cb17ee92cfa3c37e1c89f783167f05b7346.tar.xz
packages-eeed8cb17ee92cfa3c37e1c89f783167f05b7346.zip
user/calligra: Update to 3.2.1
Diffstat (limited to 'user/calligra/kf5.patch')
-rw-r--r--user/calligra/kf5.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/user/calligra/kf5.patch b/user/calligra/kf5.patch
deleted file mode 100644
index 1a424ef98..000000000
--- a/user/calligra/kf5.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 9611a8b3e09f7ae4b53640c11a2196274f39d60f Mon Sep 17 00:00:00 2001
-From: David Faure <faure@kde.org>
-Date: Sun, 10 Nov 2019 14:28:36 +0100
-Subject: port away from deprecated methods in KWindowSystem >= 5.62
-
-(this is in order to make KWindowSystem independent from QtWidgets)
----
- plan/src/workpackage/commandlineparser.cpp | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/plan/src/workpackage/commandlineparser.cpp b/plan/src/workpackage/commandlineparser.cpp
-index 432f99a..f9be208 100644
---- a/plan/src/workpackage/commandlineparser.cpp
-+++ b/plan/src/workpackage/commandlineparser.cpp
-@@ -28,6 +28,7 @@
- #include <KStartupInfo>
- #include <KWindowSystem>
- #include <KMessageBox>
-+#include <kwindowsystem_version.h>
-
- #include <QApplication>
- #include <QDir>
-@@ -65,7 +66,12 @@ void CommandLineParser::handleActivateRequest(const QStringList &arguments, cons
- handleCommandLine(QDir(workingDirectory));
-
- // terminate startup notification and activate the mainwindow
-+#if KWINDOWSYSTEM_VERSION >= QT_VERSION_CHECK(5,62,0)
-+ m_mainwindow->setAttribute(Qt::WA_NativeWindow, true);
-+ KStartupInfo::setNewStartupId(m_mainwindow->windowHandle(), KStartupInfo::startupId());
-+#else
- KStartupInfo::setNewStartupId(m_mainwindow, KStartupInfo::startupId());
-+#endif
- KWindowSystem::forceActiveWindow(m_mainwindow->winId());
-
- }
---
-cgit v1.1
-