summaryrefslogtreecommitdiff
path: root/kde-plasma/kwin/files/kwin-5.90.90-gstreamer-optional.patch
blob: dfd544af0058ca62815529c724258a2637064b69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 3b851958984a2028780ee6078004690ca2b0723b 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 e4a7daca7e..23d32e63a1 100644
--- a/src/kcms/effects/ui/Effect.qml
+++ b/src/kcms/effects/ui/Effect.qml
@@ -120,7 +120,7 @@ QQC2.ItemDelegate {
         }
 
         QQC2.ToolButton {
-            visible: model.VideoRole.toString() !== ""
+            visible: false
             icon.name: "videoclip-amarok"
             text: i18nc("@info:tooltip", "Show/Hide Video")
             display: QQC2.AbstractButton.IconOnly
-- 
2.43.0