aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/universal/CheckDelegate.qml
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2017-05-02 14:06:57 +0200
committerMitch Curtis <mitch.curtis@qt.io>2017-05-02 16:46:26 +0000
commitd5e2b44a98fd249dd6a751564a9ea8675ca43c8f (patch)
tree4638d3e97daf33cc7f95750a3db696932bd723c5 /src/imports/controls/universal/CheckDelegate.qml
parent209c85709eff639651c5ead3bc7696dfd8b907f0 (diff)
Universal: make icon color match text color
Task-number: QTBUG-60502 Change-Id: Ib5824c50aacddd6d0fefadfe7efb4836bb1b9925 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/imports/controls/universal/CheckDelegate.qml')
-rw-r--r--src/imports/controls/universal/CheckDelegate.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/universal/CheckDelegate.qml b/src/imports/controls/universal/CheckDelegate.qml
index 5d866d06..f35542d0 100644
--- a/src/imports/controls/universal/CheckDelegate.qml
+++ b/src/imports/controls/universal/CheckDelegate.qml
@@ -58,7 +58,7 @@ T.CheckDelegate {
icon.width: 20
icon.height: 20
- icon.color: enabled ? undefined : Color.transparent(Universal.foreground, 0.2)
+ icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2)
indicator: CheckIndicator {
x: text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2