diff --git a/src/wayland/datadevice_interface.cpp b/src/wayland/datadevice_interface.cpp index 0ca4400875..8b28d25f15 100644 --- a/src/wayland/datadevice_interface.cpp +++ b/src/wayland/datadevice_interface.cpp @@ -29,8 +29,7 @@ public: SeatInterface *seat; DataSourceInterface *source = nullptr; SurfaceInterface *surface = nullptr; - SurfaceInterface *icon = nullptr; - + QPointer icon; QPointer selection; struct Drag {