diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2012-06-25 12:01:46 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-29 02:21:36 +0200 |
commit | 5df94d89033e7bbb3f41840a4c07a628ed66b4d5 (patch) | |
tree | e42bcd16d8f5f3a192c48794b610ffeb05b9dc02 /examples/particles/emitters/shapeanddirection.qml | |
parent | 2241d6fa2d39fe890ba0d17ff58b5e0615c1cd7b (diff) |
Rename speed -> velocity in the particle system
Matches the convention set in the QtQuick module, for example by
ListView and Flickable.
Change-Id: I8df57ed1ced8128723d790c30c00cc1b2062787d
Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'examples/particles/emitters/shapeanddirection.qml')
-rw-r--r-- | examples/particles/emitters/shapeanddirection.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/particles/emitters/shapeanddirection.qml b/examples/particles/emitters/shapeanddirection.qml index 43623427b6..3d378b8492 100644 --- a/examples/particles/emitters/shapeanddirection.qml +++ b/examples/particles/emitters/shapeanddirection.qml @@ -74,7 +74,7 @@ Rectangle { sizeVariation: 2 endSize: 0 shape: EllipseShape {fill: false} - speed: TargetDirection { + velocity: TargetDirection { targetX: root.width/2 targetY: root.height/2 proportionalMagnitude: true @@ -93,7 +93,7 @@ Rectangle { sizeVariation: 2 endSize: 16 shape: EllipseShape {fill: false} - speed: TargetDirection { + velocity: TargetDirection { targetX: root.width/2 targetY: root.height/2 proportionalMagnitude: true |