Initialize more variables
authorAlan Alpert <alan.alpert@nokia.com>
Tue, 20 Dec 2011 06:35:23 +0000 (16:35 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 22 Dec 2011 05:55:22 +0000 (06:55 +0100)
Change-Id: I22f98c1562887769bc0f262120bd524f6f3b64df
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/particles/qquickparticlesystem.cpp

index 87a454c..3bb47b1 100644 (file)
@@ -641,10 +641,12 @@ QQuickParticleSystem::QQuickParticleSystem(QQuickItem *parent) :
     stateEngine(0),
     m_animation(0),
     m_running(true),
+    initialized(0),
     particleCount(0),
     m_nextIndex(0),
     m_componentComplete(false),
-    m_paused(false)
+    m_paused(false),
+    m_empty(true)
 {
     connect(&m_painterMapper, SIGNAL(mapped(QObject*)),
             this, SLOT(loadPainter(QObject*)));