Commit 0e61b505 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Remove pointless textColor assignment

This is all handled by PlasmaComponents.Label which also honors any ColorScope around it.

Differential Revision: https://phabricator.kde.org/D24889
parent 3f4794a6
......@@ -147,7 +147,6 @@ MouseArea {
PlasmaComponents.Label {
id: typeText
text: resultDelegate.typeText
color: theme.textColor
opacity: 0.5
horizontalAlignment: Text.AlignRight
......@@ -221,7 +220,6 @@ MouseArea {
// ResultsModel just has it as a boolean as you would expect from the name of the property
text: model.isDuplicate === true || model.isDuplicate > 1 || resultDelegate.isCurrent ? String(model.subtext || "") : ""
color: theme.textColor
// HACK If displayLabel is too long it will shift this label outside boundaries
// but still render the text leading to it overlapping the action buttons looking horrible
opacity: width > 0 ? 0.3 : 0
......
......@@ -79,7 +79,6 @@ MouseArea {
id: subtextLabel
text: String(model.subtext)
color: theme.textColor
opacity: 0.3
height: typePixmap.height
......
Markdown is supported
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