summaryrefslogtreecommitdiffstats
path: root/src/declarative/util
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-11 01:40:45 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-11 01:40:45 (GMT)
commit3b993d06cdf4f8981035e60fdc7e44e403cbd569 (patch)
tree00689011907f945cdbfe1af871718612e3ee6cf6 /src/declarative/util
parentfd11ad94463300e16a8a085ae313816bab3049e7 (diff)
parent0de7d028b8ec71109d4d3eba7d15d704e42d76da (diff)
downloadQt-3b993d06cdf4f8981035e60fdc7e44e403cbd569.zip
Qt-3b993d06cdf4f8981035e60fdc7e44e403cbd569.tar.gz
Qt-3b993d06cdf4f8981035e60fdc7e44e403cbd569.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/util')
-rw-r--r--src/declarative/util/qmlspringfollow.cpp2
-rw-r--r--src/declarative/util/qmlspringfollow_p.h1
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)