aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/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/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/SwipeDelegate.qml')
-rw-r--r--src/imports/controls/SwipeDelegate.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/SwipeDelegate.qml b/src/imports/controls/SwipeDelegate.qml
index acbabe2c..08320454 100644
--- a/src/imports/controls/SwipeDelegate.qml
+++ b/src/imports/controls/SwipeDelegate.qml
@@ -54,7 +54,7 @@ T.SwipeDelegate {
icon.width: 24
icon.height: 24
- icon.color: enabled ? undefined : Default.textDisabledLightColor
+ icon.color: control.enabled ? Default.textDarkColor : Default.textDisabledColor
swipe.transition: Transition { SmoothedAnimation { velocity: 3; easing.type: Easing.InOutCubic } }