summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandcursor_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/qwaylandcursor_p.h')
-rw-r--r--src/client/qwaylandcursor_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/qwaylandcursor_p.h b/src/client/qwaylandcursor_p.h
index 916a464e4..b7b1c2a75 100644
--- a/src/client/qwaylandcursor_p.h
+++ b/src/client/qwaylandcursor_p.h
@@ -119,8 +119,8 @@ private:
struct wl_cursor* requestCursor(WaylandCursor shape);
void initCursorMap();
- QWaylandDisplay *mDisplay;
- struct wl_cursor_theme *mCursorTheme;
+ QWaylandDisplay *mDisplay = nullptr;
+ struct wl_cursor_theme *mCursorTheme = nullptr;
QPoint mLastPos;
QMap<WaylandCursor, wl_cursor *> mCursors;
QMultiMap<WaylandCursor, QByteArray> mCursorNamesMap;