Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
b2715038
Commit
b2715038
authored
Mar 25, 2021
by
Vlad Zahorodnii
Browse files
Fix -Wunused-variable
parent
1fec9ed4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wayland/seat_interface.cpp
View file @
b2715038
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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