aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicklistview/data/repositionResizedDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquicklistview/data/repositionResizedDelegate.qml')
-rw-r--r--tests/auto/quick/qquicklistview/data/repositionResizedDelegate.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/quick/qquicklistview/data/repositionResizedDelegate.qml b/tests/auto/quick/qquicklistview/data/repositionResizedDelegate.qml
index d79ca100f4..fa16a8529e 100644
--- a/tests/auto/quick/qquicklistview/data/repositionResizedDelegate.qml
+++ b/tests/auto/quick/qquicklistview/data/repositionResizedDelegate.qml
@@ -1,4 +1,5 @@
import QtQuick 2.0
+import QtQml.Models 2.12
ListView {
id: root
@@ -9,7 +10,7 @@ ListView {
layoutDirection: (testRightToLeft == true) ? Qt.RightToLeft : Qt.LeftToRight
verticalLayoutDirection: (testBottomToTop == true) ? ListView.BottomToTop : ListView.TopToBottom
- model: VisualItemModel {
+ model: ObjectModel {
Rectangle {
objectName: "red"
width: 200; height: 200; color: "red"