Commit b2715038 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Fix -Wunused-variable

parent 1fec9ed4
......@@ -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