summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@theqtcompany.com>2015-09-18 12:42:57 +0200
committerPaul Olav Tvete <paul.tvete@theqtcompany.com>2015-09-18 14:56:39 +0000
commitee50284f495219db2097f9a93ebe3ab325e44ff8 (patch)
tree39bfe5cbf0c9a8cd3fcf8aff913b87c62df43182
parente32a289798a1b16e3d0858217003dcc2864cc0c1 (diff)
Remove the parent pointer for the view in QWaylandQuickItem
Its a scoped pointer and will be deleted by QWaylandQuickItem Change-Id: Ief881cc4dd83780da49c3d70d886389b7a10c33d Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
-rw-r--r--src/compositor/compositor_api/qwaylandquickitem_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/compositor_api/qwaylandquickitem_p.h b/src/compositor/compositor_api/qwaylandquickitem_p.h
index 5d2a93117..0f1237cc2 100644
--- a/src/compositor/compositor_api/qwaylandquickitem_p.h
+++ b/src/compositor/compositor_api/qwaylandquickitem_p.h
@@ -72,7 +72,7 @@ public:
if (!mutex)
mutex = new QMutex;
- view.reset(new QWaylandView(q, q));
+ view.reset(new QWaylandView(q));
q->setFlag(QQuickItem::ItemHasContents);
q->update();