diff options
author | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-09-18 12:43:43 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2015-09-18 14:56:58 +0000 |
commit | b2a27f4beb417ca884612f6af520f81c1a745143 (patch) | |
tree | c9791e8c99b0c4aba50ad08e0f24b331f6da7ff3 | |
parent | ee50284f495219db2097f9a93ebe3ab325e44ff8 (diff) |
Hook up the QWaylandQuickItem::surfaceDestroyed
Change-Id: I8551318190782a2426ff9d03fbe881a0cdc7016a
Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
-rw-r--r-- | src/compositor/compositor_api/qwaylandquickitem_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/qwaylandquickitem_p.h b/src/compositor/compositor_api/qwaylandquickitem_p.h index 0f1237cc2..72d202431 100644 --- a/src/compositor/compositor_api/qwaylandquickitem_p.h +++ b/src/compositor/compositor_api/qwaylandquickitem_p.h @@ -89,6 +89,7 @@ public: QObject::connect(q, &QQuickItem::windowChanged, q, &QWaylandQuickItem::updateWindow); QObject::connect(view.data(), &QWaylandView::surfaceChanged, q, &QWaylandQuickItem::surfaceChanged); QObject::connect(view.data(), &QWaylandView::surfaceChanged, q, &QWaylandQuickItem::handleSurfaceChanged); + QObject::connect(view.data(), &QWaylandView::surfaceDestroyed, q, &QWaylandQuickItem::surfaceDestroyed); } bool shouldSendInputEvents() const { return view->surface() && inputEventsEnabled; } |