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) ...@@ -179,7 +179,6 @@ void SeatInterfacePrivate::registerDataDevice(DataDeviceInterface *dataDevice)
QObject::connect(dataDevice, &DataDeviceInterface::dragStarted, q, QObject::connect(dataDevice, &DataDeviceInterface::dragStarted, q,
[this, dataDevice] { [this, dataDevice] {
const auto dragSerial = dataDevice->dragImplicitGrabSerial(); const auto dragSerial = dataDevice->dragImplicitGrabSerial();
auto *dragSurface = dataDevice->origin();
if (q->hasImplicitPointerGrab(dragSerial)) { if (q->hasImplicitPointerGrab(dragSerial)) {
drag.mode = Drag::Mode::Pointer; drag.mode = Drag::Mode::Pointer;
drag.transformation = globalPointer.focus.transformation; 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