diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-12-19 14:47:09 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-12-20 17:37:20 +0000 |
commit | b94cb52c8b03511a2549469dfed33c6e0e857021 (patch) | |
tree | ca5b55762740c79f63f17f4d1204202a0dc4babb /src/imports/controls/ScrollIndicator.qml | |
parent | 4367be99cc89c733b8667a30c8a82dac21ba08bb (diff) |
Default: cleanup and test internal IDs
Remove the undesired internal IDs where easily possible, and
add expected failures for the harder ones for now.
Task-number: QTBUG-65341
Change-Id: I5964b2cb59652661c90141259c68b95c721cf6ca
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/ScrollIndicator.qml')
-rw-r--r-- | src/imports/controls/ScrollIndicator.qml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/imports/controls/ScrollIndicator.qml b/src/imports/controls/ScrollIndicator.qml index 12ec2d40..8607c8d4 100644 --- a/src/imports/controls/ScrollIndicator.qml +++ b/src/imports/controls/ScrollIndicator.qml @@ -50,8 +50,6 @@ T.ScrollIndicator { padding: 2 contentItem: Rectangle { - id: indicator - implicitWidth: 2 implicitHeight: 2 @@ -62,7 +60,7 @@ T.ScrollIndicator { states: State { name: "active" when: control.active - PropertyChanges { target: indicator; opacity: 0.75 } + PropertyChanges { target: control.contentItem; opacity: 0.75 } } transitions: [ @@ -70,7 +68,7 @@ T.ScrollIndicator { from: "active" SequentialAnimation { PauseAnimation { duration: 450 } - NumberAnimation { target: indicator; duration: 200; property: "opacity"; to: 0.0 } + NumberAnimation { target: control.contentItem; duration: 200; property: "opacity"; to: 0.0 } } } ] |