diff options
author | Bea Lam <bea.lam@nokia.com> | 2009-11-11 02:27:29 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2009-11-11 02:27:29 (GMT) |
commit | 22fe9474b01c577337e43416666a8f90d0ad6064 (patch) | |
tree | f55624c92fc63db9e9fbba43c07ce5f9df59a25b /src/declarative/util | |
parent | b8b5ad641a5977651e61b5e572918f90248d8851 (diff) | |
parent | b6b0b5d7f211e10beb76711fcecdf068af34fdfd (diff) | |
download | Qt-22fe9474b01c577337e43416666a8f90d0ad6064.zip Qt-22fe9474b01c577337e43416666a8f90d0ad6064.tar.gz Qt-22fe9474b01c577337e43416666a8f90d0ad6064.tar.bz2 |
Merge branch 'kinetic-declarativeui' of scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/util')
-rw-r--r-- | src/declarative/util/qmlspringfollow.cpp | 2 | ||||
-rw-r--r-- | src/declarative/util/qmlspringfollow_p.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/declarative/util/qmlspringfollow.cpp b/src/declarative/util/qmlspringfollow.cpp index 4a7c8b3..d6961b0 100644 --- a/src/declarative/util/qmlspringfollow.cpp +++ b/src/declarative/util/qmlspringfollow.cpp @@ -55,7 +55,7 @@ class QmlSpringFollowPrivate : public QObjectPrivate Q_DECLARE_PUBLIC(QmlSpringFollow) public: QmlSpringFollowPrivate() - : sourceValue(0), maxVelocity(0), lastTime(0) + : currentValue(0), sourceValue(0), maxVelocity(0), lastTime(0) , mass(1.0), spring(0.), damping(0.), velocity(0), epsilon(0.01) , modulus(0.0), useMass(false), haveModulus(false), enabled(true), mode(Track), clock(this) {} diff --git a/src/declarative/util/qmlspringfollow_p.h b/src/declarative/util/qmlspringfollow_p.h index b81539a..b7989e4 100644 --- a/src/declarative/util/qmlspringfollow_p.h +++ b/src/declarative/util/qmlspringfollow_p.h @@ -64,7 +64,6 @@ class Q_DECLARATIVE_EXPORT QmlSpringFollow : public QObject, Q_PROPERTY(qreal spring READ spring WRITE setSpring) Q_PROPERTY(qreal damping READ damping WRITE setDamping) Q_PROPERTY(qreal epsilon READ epsilon WRITE setEpsilon) - Q_PROPERTY(qreal modulus READ modulus WRITE setModulus) Q_PROPERTY(bool enabled READ enabled WRITE setEnabled) Q_PROPERTY(qreal value READ value NOTIFY valueChanged) Q_PROPERTY(qreal modulus READ modulus WRITE setModulus NOTIFY modulusChanged) |