QML test: Fix annoying warning in tst_animatedimage.qml
Fix a bunch of warnings "tst_animatedimage.qml:90:17: TypeError: Cannot read property 'width' of null" during the test run. Pick-to: 6.5 Change-Id: I9a1fcd5d8e2ff81768bed1cd1fb94f22940c617b Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
parent
07185214dd
commit
e4d627e129
|
@ -87,7 +87,7 @@ Item {
|
|||
model: 5000
|
||||
delegate: Item {
|
||||
height: 10
|
||||
width: parent.width
|
||||
width: ListView.view.width
|
||||
Text {
|
||||
anchors.fill: parent
|
||||
text: index
|
||||
|
|
Loading…
Reference in New Issue