path: root/tests/auto
diff options
authorMitch Curtis <mitch.curtis@qt.io>2020-02-25 12:16:39 +0100
committerMitch Curtis <mitch.curtis@qt.io>2020-05-11 15:57:59 +0200
commit456d26e97ec7745fdbd1afaaaa6c1dc217eca060 (patch)
tree42090e3264dd41a736181da76a99e6ad366946a6 /tests/auto
parente0b356af9e747171dbdfc0d2935336ef14b4839d (diff)
Remove bindings to parent in delegates
Until we've decided whether to a) document that properties of parent should not be bound to in delegates or b) fix the warning that results from doing so after 8c72e634b3b0eacbfdee883bfc34994d3c19ed77, we can pre-emptively clean up a few places where it happens. Task-number: QTBUG-81976 Task-number: QTBUG-82393 Task-number: QTBUG-82989 Pick-to: 5.15 Change-Id: I1e610613f6016ec1b9cf9ca33cdfb15d384731a8 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests/auto')
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qquickdrawer/data/flickable.qml b/tests/auto/qquickdrawer/data/flickable.qml
index 4afef66b..09d43029 100644
--- a/tests/auto/qquickdrawer/data/flickable.qml
+++ b/tests/auto/qquickdrawer/data/flickable.qml
@@ -67,7 +67,7 @@ ApplicationWindow {
id: flickable
model: 100
delegate: ItemDelegate {
- width: parent.width
+ width: flickable.width
text: index