summaryrefslogtreecommitdiffstats
path: root/examples/declarative/objectlistmodel/view.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/objectlistmodel/view.qml')
-rw-r--r--examples/declarative/objectlistmodel/view.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/objectlistmodel/view.qml b/examples/declarative/objectlistmodel/view.qml
index 908e388..2b8383f 100644
--- a/examples/declarative/objectlistmodel/view.qml
+++ b/examples/declarative/objectlistmodel/view.qml
@@ -9,7 +9,7 @@ ListView {
Rectangle {
height: 25
width: 100
- color: model.color
+ color: model.modelData.color
Text { text: name }
}
}