Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWayland Server
Commits
80a5c50c
Commit
80a5c50c
authored
Mar 25, 2021
by
Vlad Zahorodnii
Browse files
Fix -Wunused-variable
parent
e9665e1c
Pipeline
#55509
passed with stage
in 7 minutes and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/server/seat_interface.cpp
View file @
80a5c50c
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment