aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/particles/qquickparticlesystem_p.h
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2012-01-16 13:01:19 +1000
committerQt by Nokia <qt-info@nokia.com>2012-01-16 11:24:28 +0100
commit5290b04325aa66f3f2934c9f143eee71d98a3249 (patch)
tree192b45d6fce25d1fb9478252fb7e20f2d7a3667a /src/quick/particles/qquickparticlesystem_p.h
parent5f730bc3ae4cf18c46e513bf1db055b2d9255fdc (diff)
Test more of QQuickImageParticle
Now the color variance properties are tested, as is the debug code. Just running the debugging code is valid testing, as it contains pointer derefernces that could cause runtime errors, and this codepath is not always enabled at runtime. Additionally, debug mode control has been consolidated in the ParticleSystem. However, this was not necessary for this test addition. Change-Id: Ie56465145461486456462154dfafe546fedabcba Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src/quick/particles/qquickparticlesystem_p.h')
-rw-r--r--src/quick/particles/qquickparticlesystem_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/particles/qquickparticlesystem_p.h b/src/quick/particles/qquickparticlesystem_p.h
index 7a16b77df3..43bcafe347 100644
--- a/src/quick/particles/qquickparticlesystem_p.h
+++ b/src/quick/particles/qquickparticlesystem_p.h
@@ -302,6 +302,7 @@ public:
void updateCurrentTime( int currentTime );
QQuickParticleSystemAnimation* m_animation;
bool m_running;
+ bool m_debugMode;
int timeInt;
bool initialized;
@@ -340,7 +341,6 @@ private:
QSignalMapper m_painterMapper;
QSignalMapper m_emitterMapper;
bool m_paused;
- bool m_debugMode;
bool m_allDead;
bool m_empty;
};