aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/ItemDelegate.qml
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2017-05-02 13:32:20 +0200
committerMitch Curtis <mitch.curtis@qt.io>2017-05-02 16:46:15 +0000
commit209c85709eff639651c5ead3bc7696dfd8b907f0 (patch)
treeed9e3de8d55944e5f51e3a8985e57f2d3f8345b8 /src/imports/controls/material/ItemDelegate.qml
parent157b0033e5efced636d441d68ef8d1d149347c38 (diff)
Material: make icon color match text color
Task-number: QTBUG-60502 Change-Id: Ia861155b0728cf5f8d1815dc2ff2af94a68b6b8f Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/imports/controls/material/ItemDelegate.qml')
-rw-r--r--src/imports/controls/material/ItemDelegate.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/material/ItemDelegate.qml b/src/imports/controls/material/ItemDelegate.qml
index e9a75186..09471fae 100644
--- a/src/imports/controls/material/ItemDelegate.qml
+++ b/src/imports/controls/material/ItemDelegate.qml
@@ -56,7 +56,7 @@ T.ItemDelegate {
icon.width: 24
icon.height: 24
- icon.color: enabled ? undefined : Material.hintTextColor
+ icon.color: enabled ? Material.foreground : Material.hintTextColor
contentItem: IconLabel {
spacing: control.spacing