aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/particles/qsgparticleaffector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/particles/qsgparticleaffector.cpp')
-rw-r--r--src/declarative/particles/qsgparticleaffector.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/particles/qsgparticleaffector.cpp b/src/declarative/particles/qsgparticleaffector.cpp
index 24bddea5f7..2758e93a5f 100644
--- a/src/declarative/particles/qsgparticleaffector.cpp
+++ b/src/declarative/particles/qsgparticleaffector.cpp
@@ -126,8 +126,8 @@ QT_BEGIN_NAMESPACE
x,y is the particles current position.
*/
-QSGParticleAffector::QSGParticleAffector(QSGItem *parent) :
- QSGItem(parent), m_needsReset(false), m_system(0), m_enabled(true)
+QSGParticleAffector::QSGParticleAffector(QQuickItem *parent) :
+ QQuickItem(parent), m_needsReset(false), m_system(0), m_enabled(true)
, m_updateIntSet(false), m_shape(new QSGParticleExtruder(this))
{
}
@@ -143,7 +143,7 @@ void QSGParticleAffector::componentComplete()
{
if (!m_system && qobject_cast<QSGParticleSystem*>(parentItem()))
setSystem(qobject_cast<QSGParticleSystem*>(parentItem()));
- QSGItem::componentComplete();
+ QQuickItem::componentComplete();
}
bool QSGParticleAffector::activeGroup(int g) {