Commit 8562853b authored by Nate Graham's avatar Nate Graham
Browse files

[kcms/keys] Add a comment explaining why we're not using basicListItem

GIT_SILENT
parent 9e38435b
......@@ -101,6 +101,10 @@ KCM.AbstractKCM {
value: transition.ViewTransition.index
}
}
// We're using a custom list delegate because we want to be
// able to control the opacity of the icon and text independently
// from everything else, which BasicListItem doesn't offer
delegate: Kirigami.AbstractListItem {
id: componentDelegate
readonly property color foregroundColor: ListView.isCurrentItem ? activeTextColor : textColor
......
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