aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickpathview
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2018-10-03 21:07:31 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2018-10-05 20:17:59 +0000
commit2dda8dcb2fc4851307d01af8336da2c8216b6360 (patch)
treecef4df7aa68c64399280990f398ef7a8373ec0f3 /tests/auto/quick/qquickpathview
parent052d22e116957a170e290a49d077d3e9f290a237 (diff)
PathView autotest: fix "value is not defined" error
removePath.qml:9: ReferenceError: value is not defined I'm not sure whether value was ever defined, but I've always used modelData in ListView when the model has no other roles. Change-Id: I4fb75057cd3746c0701452c0cf77dda7be35f184 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickpathview')
-rw-r--r--tests/auto/quick/qquickpathview/data/removePath.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickpathview/data/removePath.qml b/tests/auto/quick/qquickpathview/data/removePath.qml
index 85029f3eaf..36343adaaf 100644
--- a/tests/auto/quick/qquickpathview/data/removePath.qml
+++ b/tests/auto/quick/qquickpathview/data/removePath.qml
@@ -6,7 +6,7 @@ PathView {
path: myPath
- delegate: Text { text: value }
+ delegate: Text { text: modelData }
model: 10
Path {