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
6ec13c41
Commit
6ec13c41
authored
Oct 20, 2020
by
Aleix Pol Gonzalez
🐧
Browse files
xwl: Remove unnecessary lambda
parent
d1a0c149
Changes
1
Hide whitespace changes
Inline
Side-by-side
xwl/clipboard.cpp
View file @
6ec13c41
...
...
@@ -70,10 +70,7 @@ void Clipboard::wlSelectionChanged(KWaylandServer::AbstractDataSource *dsi)
// Wayland native client provides new selection
if
(
!
m_checkConnection
)
{
m_checkConnection
=
connect
(
workspace
(),
&
Workspace
::
clientActivated
,
this
,
[
this
](
AbstractClient
*
ac
)
{
Q_UNUSED
(
ac
);
checkWlSource
();
});
this
,
&
Clipboard
::
checkWlSource
);
}
// remove previous source so checkWlSource() can create a new one
setWlSource
(
nullptr
);
...
...
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