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 /src/particles/qquickparticlesystem.cpp | |
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 'src/particles/qquickparticlesystem.cpp')
-rw-r--r-- | src/particles/qquickparticlesystem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/particles/qquickparticlesystem.cpp b/src/particles/qquickparticlesystem.cpp index 6b5fbfae0b..1cbc337488 100644 --- a/src/particles/qquickparticlesystem.cpp +++ b/src/particles/qquickparticlesystem.cpp @@ -460,7 +460,7 @@ QQuickParticleData::QQuickParticleData(QQuickParticleSystem* sys) yx = 0; yy = 1; rotation = 0; - rotationSpeed = 0; + rotationVelocity = 0; autoRotate = 0; animIdx = 0; frameDuration = 1; @@ -502,7 +502,7 @@ void QQuickParticleData::clone(const QQuickParticleData& other) yx = other.yx; yy = other.yy; rotation = other.rotation; - rotationSpeed = other.rotationSpeed; + rotationVelocity = other.rotationVelocity; autoRotate = other.autoRotate; animIdx = other.animIdx; frameDuration = other.frameDuration; |