summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2017-07-06 10:53:02 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2017-07-06 10:47:24 +0000
commit8ee40ea18185f9030c7596a3e2c20dd1c3aeeb48 (patch)
tree5a810489c2e21d8c2420b8b3f5091e201cbf4166
parentdf26542db1eddbcb8a92cce8a38eaa6dc9fa5990 (diff)
shape: Call base impl for componentComplete
...and classBegin(). Change-Id: Ie6b4a53c32044d17ce1beb5415a830683c2b513f Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
-rw-r--r--src/imports/shapes/qquickshape.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/imports/shapes/qquickshape.cpp b/src/imports/shapes/qquickshape.cpp
index 666ed4e595..d81f560315 100644
--- a/src/imports/shapes/qquickshape.cpp
+++ b/src/imports/shapes/qquickshape.cpp
@@ -846,14 +846,14 @@ QQmlListProperty<QObject> QQuickShape::data()
void QQuickShape::classBegin()
{
- Q_D(QQuickShape);
- d->componentComplete = false;
+ QQuickItem::classBegin();
}
void QQuickShape::componentComplete()
{
Q_D(QQuickShape);
- d->componentComplete = true;
+
+ QQuickItem::componentComplete();
for (QQuickShapePath *p : d->qmlData.sp)
connect(p, SIGNAL(shapePathChanged()), this, SLOT(_q_shapePathChanged()));