summaryrefslogtreecommitdiffstats
path: root/examples/wayland/qwindow-compositor/compositor.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/qwindow-compositor/compositor.h')
-rw-r--r--examples/wayland/qwindow-compositor/compositor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/wayland/qwindow-compositor/compositor.h b/examples/wayland/qwindow-compositor/compositor.h
index d1b501ff8..5cc3e28c6 100644
--- a/examples/wayland/qwindow-compositor/compositor.h
+++ b/examples/wayland/qwindow-compositor/compositor.h
@@ -180,10 +180,10 @@ private slots:
void viewAnimationDone();
private:
View *findView(const QWaylandSurface *s) const;
- QWindow *m_window;
+ QWindow *m_window = nullptr;
QList<View*> m_views;
- QWaylandWlShell *m_wlShell;
- QWaylandXdgShellV5 *m_xdgShell;
+ QWaylandWlShell *m_wlShell = nullptr;
+ QWaylandXdgShellV5 *m_xdgShell = nullptr;
QWaylandView m_cursorView;
int m_cursorHotspotX;
int m_cursorHotspotY;