Commit 6127930b authored by Tanbir Jishan's avatar Tanbir Jishan Committed by Nate Graham
Browse files

kcms/color: Fix wrong application of opacity and cursor shape for color buttons

The custom color buttons don't need to be made conditionally transparent
or use a custom cursor, as they are mostly just normal radio buttons just
with a different background color. So let's remove these unnecessary
custom overrides.
parent 782f9570
Pipeline #194949 passed with stage
in 17 minutes and 14 seconds
......@@ -185,7 +185,6 @@ KCM.GridViewKCM {
spacing: accentBox.spacing
component ColorRadioButton : T.RadioButton {
id: control
opacity: accentBox.checked ? 1.0 : 0.5
autoExclusive: false
property color color: "transparent"
......@@ -213,12 +212,6 @@ KCM.GridViewKCM {
width: 1
}
}
MouseArea {
enabled: false
anchors.fill: parent
cursorShape: accentBox.checked ? Qt.PointingHandCursor : Qt.ArrowCursor
}
}
Repeater {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment