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,
|
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;
|
||||||
|
|
Loading…
Reference in a new issue