summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-frameworks/plasma/files/plasma-5.74.0-fix-pc3-button-icons-color-set.patch')
-rw-r--r--kde-frameworks/plasma/files/plasma-5.74.0-fix-pc3-button-icons-color-set.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/kde-frameworks/plasma/files/plasma-5.74.0-fix-pc3-button-icons-color-set.patch b/kde-frameworks/plasma/files/plasma-5.74.0-fix-pc3-button-icons-color-set.patch
new file mode 100644
index 000000000000..8f938b00b89b
--- /dev/null
+++ b/kde-frameworks/plasma/files/plasma-5.74.0-fix-pc3-button-icons-color-set.patch
@@ -0,0 +1,28 @@
+From 3167717797d07a8645391e093fa91526c4645f4f Mon Sep 17 00:00:00 2001
+From: Noah Davis <noahadvs@gmail.com>
+Date: Wed, 23 Sep 2020 20:23:08 -0400
+Subject: [PATCH] Fix PC3 Button/ToolButton icons not always having the right
+ color set
+
+BUG: 426556
+FIXED-IN: 5.75
+---
+ .../plasmacomponents3/private/ButtonContent.qml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/declarativeimports/plasmacomponents3/private/ButtonContent.qml b/src/declarativeimports/plasmacomponents3/private/ButtonContent.qml
+index 6dc2ce085..91428bdb3 100644
+--- a/src/declarativeimports/plasmacomponents3/private/ButtonContent.qml
++++ b/src/declarativeimports/plasmacomponents3/private/ButtonContent.qml
+@@ -42,7 +42,7 @@ GridLayout {
+
+ implicitWidth: root.parent.icon.width > 0 ? root.parent.icon.width : defaultIconSize
+ implicitHeight: root.parent.icon.height > 0 ? root.parent.icon.height : defaultIconSize
+-
++ colorGroup: parent.PlasmaCore.ColorScope.colorGroup
+ visible: source.length > 0 && root.parent.display !== T.Button.TextOnly
+ source: root.parent.icon ? (root.parent.icon.name || root.parent.icon.source) : ""
+ status: usingFocusBackground ? PlasmaCore.Svg.Selected : PlasmaCore.Svg.Normal
+--
+GitLab
+