aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/views/parallax/content/ParallaxView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/views/parallax/content/ParallaxView.qml')
-rw-r--r--examples/quick/views/parallax/content/ParallaxView.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/quick/views/parallax/content/ParallaxView.qml b/examples/quick/views/parallax/content/ParallaxView.qml
index 5bfed1a297..e8c67c7434 100644
--- a/examples/quick/views/parallax/content/ParallaxView.qml
+++ b/examples/quick/views/parallax/content/ParallaxView.qml
@@ -39,6 +39,7 @@
****************************************************************************/
import QtQuick 2.0
+import QtQml.Models 2.1
Item {
id: root
@@ -63,7 +64,7 @@ Item {
orientation: Qt.Horizontal
boundsBehavior: Flickable.DragOverBounds
- model: VisualItemModel { id: visualModel }
+ model: ObjectModel { id: visualModel }
highlightRangeMode: ListView.StrictlyEnforceRange
snapMode: ListView.SnapOneItem