summaryrefslogtreecommitdiffstats
path: root/src/compositor/wayland_wrapper/qwldatadevicemanager_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/wayland_wrapper/qwldatadevicemanager_p.h')
-rw-r--r--src/compositor/wayland_wrapper/qwldatadevicemanager_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/wayland_wrapper/qwldatadevicemanager_p.h b/src/compositor/wayland_wrapper/qwldatadevicemanager_p.h
index eca6d4b5..aed4e918 100644
--- a/src/compositor/wayland_wrapper/qwldatadevicemanager_p.h
+++ b/src/compositor/wayland_wrapper/qwldatadevicemanager_p.h
@@ -109,7 +109,7 @@ private:
QMimeData m_retainedData;
QSocketNotifier *m_retainedReadNotifier = nullptr;
QList<QSocketNotifier *> m_obsoleteRetainedReadNotifiers;
- int m_retainedReadIndex;
+ int m_retainedReadIndex = 0;
QByteArray m_retainedReadBuf;
bool m_compositorOwnsSelection = false;