summaryrefslogtreecommitdiffstats
path: root/examples/declarative/listview/dummydata/MyPetsModel.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/listview/dummydata/MyPetsModel.qml')
-rw-r--r--examples/declarative/listview/dummydata/MyPetsModel.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/listview/dummydata/MyPetsModel.qml b/examples/declarative/listview/dummydata/MyPetsModel.qml
index 074fc13..1ac37bb 100644
--- a/examples/declarative/listview/dummydata/MyPetsModel.qml
+++ b/examples/declarative/listview/dummydata/MyPetsModel.qml
@@ -1,9 +1,9 @@
import Qt 4.6
// ListModel allows free form list models to be defined and populated.
-// Be sure to name the file the same as the id.
+
ListModel {
- id: MyListElementsModel
+ id: petsModel
ListElement {
name: "Polly"
type: "Parrot"