diff --git a/src/plugins/platforms/wayland/qwaylandinputdevice_p.h b/src/plugins/platforms/wayland/qwaylandinputdevice_p.h index dbdc89bde82..ea4b463c8b8 100644 --- a/src/plugins/platforms/wayland/qwaylandinputdevice_p.h +++ b/src/plugins/platforms/wayland/qwaylandinputdevice_p.h @@ -337,10 +337,6 @@ public: QPointF mGlobalPos; Qt::MouseButtons mButtons = Qt::NoButton; Qt::MouseButton mLastButton = Qt::NoButton; -#if QT_CONFIG(cursor) - wl_buffer *mCursorBuffer = nullptr; - Qt::CursorShape mCursorShape = Qt::BitmapCursor; -#endif struct FrameData { QWaylandPointerEvent *event = nullptr;