Commit 80a5c50c authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Fix -Wunused-variable

parent e9665e1c
Pipeline #55509 passed with stage
in 7 minutes and 8 seconds
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment