summaryrefslogtreecommitdiff
path: root/kde-plasma/kwin/files/kwin-5.90.0-gstreamer-optional.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kde-plasma/kwin/files/kwin-5.90.0-gstreamer-optional.patch')
-rw-r--r--kde-plasma/kwin/files/kwin-5.90.0-gstreamer-optional.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/kde-plasma/kwin/files/kwin-5.90.0-gstreamer-optional.patch b/kde-plasma/kwin/files/kwin-5.90.0-gstreamer-optional.patch
new file mode 100644
index 00000000000..a6cd6729a16
--- /dev/null
+++ b/kde-plasma/kwin/files/kwin-5.90.0-gstreamer-optional.patch
@@ -0,0 +1,25 @@
+From a6eec8e984aa97110a9cad22121fc4e88d3f12ba Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Tue, 6 Aug 2019 22:36:44 +0200
+Subject: [PATCH] Disable the effect video button if gstreamer is missing
+
+---
+ src/kcms/effects/ui/Effect.qml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/kcms/effects/ui/Effect.qml b/src/kcms/effects/ui/Effect.qml
+index c973afb941..b083d3ac22 100644
+--- a/src/kcms/effects/ui/Effect.qml
++++ b/src/kcms/effects/ui/Effect.qml
+@@ -122,7 +122,7 @@ Kirigami.SwipeListItem {
+
+ actions: [
+ Kirigami.Action {
+- visible: model.VideoRole.toString() !== ""
++ visible: false
+ icon.name: "videoclip-amarok"
+ tooltip: i18nc("@info:tooltip", "Show/Hide Video")
+ onTriggered: videoItem.showHide()
+--
+2.43.0
+