Commit 6ec13c41 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

xwl: Remove unnecessary lambda

parent d1a0c149
......@@ -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) {
this, &Clipboard::checkWlSource);
// remove previous source so checkWlSource() can create a new one
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment