From 32a17d2cd321c726697b4b86d0df1349dcd8a6dd Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Tue, 20 Dec 2011 16:35:23 +1000 Subject: [PATCH] Initialize more variables Change-Id: I22f98c1562887769bc0f262120bd524f6f3b64df Reviewed-by: Martin Jones --- src/quick/particles/qquickparticlesystem.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/quick/particles/qquickparticlesystem.cpp b/src/quick/particles/qquickparticlesystem.cpp index 87a454c..3bb47b1 100644 --- a/src/quick/particles/qquickparticlesystem.cpp +++ b/src/quick/particles/qquickparticlesystem.cpp @@ -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*))); -- 2.7.4