summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/kaffeine/files/kaffeine-2.0.18-kwindowsystem-5.82.patch')
-rw-r--r--media-video/kaffeine/files/kaffeine-2.0.18-kwindowsystem-5.82.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/media-video/kaffeine/files/kaffeine-2.0.18-kwindowsystem-5.82.patch b/media-video/kaffeine/files/kaffeine-2.0.18-kwindowsystem-5.82.patch
new file mode 100644
index 000000000000..97d8ecdec057
--- /dev/null
+++ b/media-video/kaffeine/files/kaffeine-2.0.18-kwindowsystem-5.82.patch
@@ -0,0 +1,28 @@
+From 4280d21a96c4ffd162eca52815aa84ddb679f60b Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Sat, 8 May 2021 23:45:53 +0200
+Subject: [PATCH] Port away from API deprecated in >KF-5.62
+
+BUG: 436798
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ src/main.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/main.cpp b/src/main.cpp
+index 01e3b80..cee5102 100644
+--- a/src/main.cpp
++++ b/src/main.cpp
+@@ -180,7 +180,7 @@ void KaffeineApplication::activateRequested(const QStringList &arguments,
+ return;
+
+ parser.parse(arguments);
+- KStartupInfo::setNewStartupId(mainWindow, KStartupInfo::startupId());
++ KStartupInfo::setNewStartupId(mainWindow->window()->windowHandle(), KStartupInfo::startupId());
+ KWindowSystem::forceActiveWindow(mainWindow->winId());
+ mainWindow->parseArgs(workingDirectory);
+ }
+--
+2.31.1
+