aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicklistview/data/snapToItem.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquicklistview/data/snapToItem.qml')
-rw-r--r--tests/auto/quick/qquicklistview/data/snapToItem.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/quick/qquicklistview/data/snapToItem.qml b/tests/auto/quick/qquicklistview/data/snapToItem.qml
index 91d31adfc7..a41391c5d6 100644
--- a/tests/auto/quick/qquicklistview/data/snapToItem.qml
+++ b/tests/auto/quick/qquicklistview/data/snapToItem.qml
@@ -39,11 +39,14 @@ Rectangle {
highlight: Rectangle { width: 80; height: 80; color: "yellow" }
model: 10
delegate: myDelegate
+
+ // speed up test runs
+ flickDeceleration: 5000
}
Text {
anchors.right: parent.right
anchors.bottom: parent.bottom
- text: list.contentX + ", " + list.contentY
+ text: list.contentX.toFixed(1) + ", " + list.contentY.toFixed(1)
}
}