diff --git a/src/wayland/seat_interface.cpp b/src/wayland/seat_interface.cpp index c5dbdfce26..20dca2f40b 100644 --- a/src/wayland/seat_interface.cpp +++ b/src/wayland/seat_interface.cpp @@ -179,7 +179,6 @@ void SeatInterfacePrivate::registerDataDevice(DataDeviceInterface *dataDevice) QObject::connect(dataDevice, &DataDeviceInterface::dragStarted, q, [this, dataDevice] { const auto dragSerial = dataDevice->dragImplicitGrabSerial(); - auto *dragSurface = dataDevice->origin(); if (q->hasImplicitPointerGrab(dragSerial)) { drag.mode = Drag::Mode::Pointer; drag.transformation = globalPointer.focus.transformation;