diff options
Diffstat (limited to 'src/declarative/particles/qsgitemparticle.cpp')
-rw-r--r-- | src/declarative/particles/qsgitemparticle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/particles/qsgitemparticle.cpp b/src/declarative/particles/qsgitemparticle.cpp index 498dd90a87..42f0062148 100644 --- a/src/declarative/particles/qsgitemparticle.cpp +++ b/src/declarative/particles/qsgitemparticle.cpp @@ -102,8 +102,8 @@ void QSGItemParticle::tick() mpa->detach();//reparent as well? //TODO: Delete iff we created it m_activeCount--; - m_deletables.removeAll(item); } + m_deletables.clear(); foreach(int pos, m_loadables){ if(m_stasis.contains(m_items[pos])) @@ -133,8 +133,8 @@ void QSGItemParticle::tick() m_items[pos]->setOpacity(0.); m_activeCount++; } - m_loadables.removeAll(pos); } + m_loadables.clear(); } void QSGItemParticle::reload(QSGParticleData* d) |