aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/particles/qsgparticlepainter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/particles/qsgparticlepainter.cpp')
-rw-r--r--src/declarative/particles/qsgparticlepainter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/particles/qsgparticlepainter.cpp b/src/declarative/particles/qsgparticlepainter.cpp
index 4f6b18c973..c89e2ef560 100644
--- a/src/declarative/particles/qsgparticlepainter.cpp
+++ b/src/declarative/particles/qsgparticlepainter.cpp
@@ -63,8 +63,8 @@ QT_BEGIN_NAMESPACE
If empty, it will paint the default particle group ("").
*/
-QSGParticlePainter::QSGParticlePainter(QSGItem *parent) :
- QSGItem(parent),
+QSGParticlePainter::QSGParticlePainter(QQuickItem *parent) :
+ QQuickItem(parent),
m_system(0), m_count(0), m_pleaseReset(true), m_sentinel(new QSGParticleData(0))
{
}
@@ -73,7 +73,7 @@ void QSGParticlePainter::componentComplete()
{
if (!m_system && qobject_cast<QSGParticleSystem*>(parentItem()))
setSystem(qobject_cast<QSGParticleSystem*>(parentItem()));
- QSGItem::componentComplete();
+ QQuickItem::componentComplete();
}