summaryrefslogtreecommitdiff
path: root/kde-frameworks/plasma/files/plasma-5.93.0-keep-legacy-highlight-behaviour.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kde-frameworks/plasma/files/plasma-5.93.0-keep-legacy-highlight-behaviour.patch')
-rw-r--r--kde-frameworks/plasma/files/plasma-5.93.0-keep-legacy-highlight-behaviour.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/kde-frameworks/plasma/files/plasma-5.93.0-keep-legacy-highlight-behaviour.patch b/kde-frameworks/plasma/files/plasma-5.93.0-keep-legacy-highlight-behaviour.patch
new file mode 100644
index 000000000000..20935856caa8
--- /dev/null
+++ b/kde-frameworks/plasma/files/plasma-5.93.0-keep-legacy-highlight-behaviour.patch
@@ -0,0 +1,33 @@
+From 734b956c27bd76df7fed6979beb27c2f30cbd3bf Mon Sep 17 00:00:00 2001
+From: Aleix Pol <aleixpol@kde.org>
+Date: Wed, 13 Apr 2022 17:25:52 +0200
+Subject: [PATCH] Keep PlasmaComponents.Highlight on its former behaviour
+
+Otherwise some applets like Kickoff Legacy don't get a highlight
+
+BUG: 452555
+---
+ src/declarativeimports/plasmacomponents/qml/Highlight.qml | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/declarativeimports/plasmacomponents/qml/Highlight.qml b/src/declarativeimports/plasmacomponents/qml/Highlight.qml
+index 672e57231..3672050b7 100644
+--- a/src/declarativeimports/plasmacomponents/qml/Highlight.qml
++++ b/src/declarativeimports/plasmacomponents/qml/Highlight.qml
+@@ -4,6 +4,7 @@
+ SPDX-License-Identifier: LGPL-2.0-or-later
+ */
+
++import QtQuick 2.15
+ import org.kde.plasma.extras 2.0 as PlasmaExtras
+
+ /**
+@@ -15,4 +16,5 @@ PlasmaExtras.Highlight
+ id: root
+ // At some point we had the "hover" property which was replaced with "hovered"
+ property alias hover: root.hovered
++ hovered: true
+ }
+--
+GitLab
+