summaryrefslogtreecommitdiffstats
path: root/examples/declarative/follow
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-08-27 01:25:21 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-08-27 01:25:21 (GMT)
commit0d12a574ca3624ecfe62d4183e02e43f3bfb6509 (patch)
treef8a7913321059b8f47a90cb5f91e546e061af1a1 /examples/declarative/follow
parentbaeb25062194c9ddc36c4536662de46b6b09cd68 (diff)
downloadQt-0d12a574ca3624ecfe62d4183e02e43f3bfb6509.zip
Qt-0d12a574ca3624ecfe62d4183e02e43f3bfb6509.tar.gz
Qt-0d12a574ca3624ecfe62d4183e02e43f3bfb6509.tar.bz2
Repeater API updates.
Diffstat (limited to 'examples/declarative/follow')
-rw-r--r--examples/declarative/follow/pong.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/follow/pong.qml b/examples/declarative/follow/pong.qml
index d2aaba9..0314bb8 100644
--- a/examples/declarative/follow/pong.qml
+++ b/examples/declarative/follow/pong.qml
@@ -63,7 +63,7 @@ Rectangle {
Rectangle { color: "#00ee00"; x: Page.width/2+40; y: 0; width: 40; height: 60 }
Rectangle { color: "#000000"; x: Page.width/2+50; y: 10; width: 20; height: 40 }
Repeater {
- dataSource: Page.height/20
+ model: Page.height/20
Rectangle { color: "#00ee00"; x: Page.width/2-5; y: index*20; width: 10; height: 10 }
}
}