summaryrefslogtreecommitdiffstats
path: root/src/imports/particles
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-03-19 09:50:29 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-03-19 09:50:29 (GMT)
commitb6e74016305ea70ed36a7eb1504d3120106dbb23 (patch)
tree80d29684bb186de048530e31d74c241662db3e5a /src/imports/particles
parent8df44a124f2bb32ab70d183570f07d3a961736d5 (diff)
downloadQt-b6e74016305ea70ed36a7eb1504d3120106dbb23.zip
Qt-b6e74016305ea70ed36a7eb1504d3120106dbb23.tar.gz
Qt-b6e74016305ea70ed36a7eb1504d3120106dbb23.tar.bz2
Initialize variable.
Diffstat (limited to 'src/imports/particles')
-rw-r--r--src/imports/particles/qdeclarativeparticles_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/particles/qdeclarativeparticles_p.h b/src/imports/particles/qdeclarativeparticles_p.h
index 993796d..9035e3e 100644
--- a/src/imports/particles/qdeclarativeparticles_p.h
+++ b/src/imports/particles/qdeclarativeparticles_p.h
@@ -111,7 +111,7 @@ class QDeclarativeParticleMotionWander : public QDeclarativeParticleMotion
Q_OBJECT
public:
QDeclarativeParticleMotionWander()
- : QDeclarativeParticleMotion(), particles(0), _xvariance(0), _yvariance(0) {}
+ : QDeclarativeParticleMotion(), particles(0), _xvariance(0), _yvariance(0), _pace(100) {}
virtual void advance(QDeclarativeParticle &, int interval);
virtual void created(QDeclarativeParticle &);