Connection was accidentally of the Queued variety
[profile/ivi/qtdeclarative.git] / src / quick / particles / qquickimageparticle.cpp
index beeebdc..0e0f4a2 100644 (file)
@@ -1112,7 +1112,7 @@ void QQuickImageParticle::createEngine()
     if (m_sprites.count()) {
         m_spriteEngine = new QQuickSpriteEngine(m_sprites, this);
         connect(m_spriteEngine, SIGNAL(stateChanged(int)),
-                this, SLOT(spriteAdvance(int)));
+                this, SLOT(spriteAdvance(int)), Qt::DirectConnection);
         m_explicitAnimation = true;
     } else {
         m_spriteEngine = 0;