diff --git a/src/wayland/seat_interface_p.h b/src/wayland/seat_interface_p.h index 35929a3544..81ebe4f9e3 100644 --- a/src/wayland/seat_interface_p.h +++ b/src/wayland/seat_interface_p.h @@ -126,7 +126,7 @@ public: }; Mode mode = Mode::None; DataDeviceInterface *source = nullptr; - DataDeviceInterface *target = nullptr; + QPointer target; SurfaceInterface *surface = nullptr; PointerInterface *sourcePointer = nullptr; TouchInterface *sourceTouch = nullptr;