Fix -Wunused-variable
This commit is contained in:
parent
1fec9ed4ae
commit
b27150387c
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue