diff options
author | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-09-18 12:42:57 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2015-09-18 14:56:39 +0000 |
commit | ee50284f495219db2097f9a93ebe3ab325e44ff8 (patch) | |
tree | 39bfe5cbf0c9a8cd3fcf8aff913b87c62df43182 | |
parent | e32a289798a1b16e3d0858217003dcc2864cc0c1 (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.h | 2 |
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(); |