diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-06-30 03:29:26 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-06-30 03:29:26 (GMT) |
commit | 1674eeb1b331f000a6dc651ec12b682ba5b7fd77 (patch) | |
tree | e84247563a50ebb60505f95f21179d9cf25fea3d /examples/declarative | |
parent | 518cbf7d241cdbd2a4414df289f4bc91e7583edc (diff) | |
download | Qt-1674eeb1b331f000a6dc651ec12b682ba5b7fd77.zip Qt-1674eeb1b331f000a6dc651ec12b682ba5b7fd77.tar.gz Qt-1674eeb1b331f000a6dc651ec12b682ba5b7fd77.tar.bz2 |
Rename notifiers: topChanged -> yChanged; leftChanged -> xChanged.
Diffstat (limited to 'examples/declarative')
-rw-r--r-- | examples/declarative/follow/pong.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/follow/pong.qml b/examples/declarative/follow/pong.qml index 93ee6a7..c101d8d 100644 --- a/examples/declarative/follow/pong.qml +++ b/examples/declarative/follow/pong.qml @@ -26,7 +26,7 @@ Rect { y: Follow { source: Ball.targetY; velocity: 200 } // Detect the ball hitting the top or bottom of the view and bounce it - onTopChanged: { + onYChanged: { if (y <= 0) targetY = Page.height-20; else if (y >= Page.height-20) |