aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/SwipeDelegate.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-05-10 16:32:42 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2017-05-10 14:53:37 +0000
commit9947c815ea54c781bc1a9c95e26e2af1e6eebb87 (patch)
treeed4f1878d2a7f3ac7d63cae3851dac082306039a /src/imports/controls/material/SwipeDelegate.qml
parent3b7e13510b355333c4215d04a731240201401a9d (diff)
SwipeDelegate: make icon color match text color
Task-number: QTBUG-60502 Change-Id: I5078eeebf90d92ddb7e0278eb8f81dcee2d360ca Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/material/SwipeDelegate.qml')
-rw-r--r--src/imports/controls/material/SwipeDelegate.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/material/SwipeDelegate.qml b/src/imports/controls/material/SwipeDelegate.qml
index c84ee702..08f07e1f 100644
--- a/src/imports/controls/material/SwipeDelegate.qml
+++ b/src/imports/controls/material/SwipeDelegate.qml
@@ -58,7 +58,7 @@ T.SwipeDelegate {
icon.width: 24
icon.height: 24
- icon.color: enabled ? undefined : Material.hintTextColor
+ icon.color: enabled ? Material.foreground : Material.hintTextColor
swipe.transition: Transition { SmoothedAnimation { velocity: 3; easing.type: Easing.InOutCubic } }