summaryrefslogtreecommitdiffstats
path: root/examples/declarative/objectlistmodel/view.qml
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-05-05 04:38:55 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-05-05 04:38:55 (GMT)
commitce9bc843443f2c61361afa75a62a7d39029557e6 (patch)
treea097566f26f14a1e0d2aa650cb803beb6ed1bddb /examples/declarative/objectlistmodel/view.qml
parent02df0ce446a89298109e1c7d0ef1e790d41d442f (diff)
downloadQt-ce9bc843443f2c61361afa75a62a7d39029557e6.zip
Qt-ce9bc843443f2c61361afa75a62a7d39029557e6.tar.gz
Qt-ce9bc843443f2c61361afa75a62a7d39029557e6.tar.bz2
QList<QObject*> models now update their properties when they change.
Task-number: QTBUG-10348
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 }
}
}