summaryrefslogtreecommitdiffstats
path: root/src/compositor/extensions/qwaylandwlshellintegration_p.h
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@qt.io>2016-11-16 09:37:51 +0100
committerPaul Olav Tvete <paul.tvete@qt.io>2016-11-17 11:52:35 +0000
commit12f2e1e23fc1de16a42d3024561c0f839f9e96cd (patch)
tree6b0d2eca1c27fc29a5e2fd97579eba11a8cb11fc /src/compositor/extensions/qwaylandwlshellintegration_p.h
parenta8a7e28708a5c0741c013247cd3f3dc985d0fb57 (diff)
Don't crash when surface is destroyed
Change-Id: I082c3bb0003265c625d165e1463951842a730c11 Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Diffstat (limited to 'src/compositor/extensions/qwaylandwlshellintegration_p.h')
-rw-r--r--src/compositor/extensions/qwaylandwlshellintegration_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/extensions/qwaylandwlshellintegration_p.h b/src/compositor/extensions/qwaylandwlshellintegration_p.h
index bbdfbd733..c0bbcfd10 100644
--- a/src/compositor/extensions/qwaylandwlshellintegration_p.h
+++ b/src/compositor/extensions/qwaylandwlshellintegration_p.h
@@ -88,7 +88,7 @@ private:
void handlePopupRemoved();
QWaylandQuickShellSurfaceItem *m_item;
- QWaylandWlShellSurface *m_shellSurface;
+ QPointer<QWaylandWlShellSurface> m_shellSurface;
GrabberState grabberState;
struct {
QWaylandSeat *seat;