diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-10-03 21:07:31 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-10-05 20:17:59 +0000 |
commit | 2dda8dcb2fc4851307d01af8336da2c8216b6360 (patch) | |
tree | cef4df7aa68c64399280990f398ef7a8373ec0f3 /tests/auto/quick | |
parent | 052d22e116957a170e290a49d077d3e9f290a237 (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')
-rw-r--r-- | tests/auto/quick/qquickpathview/data/removePath.qml | 2 |
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 { |