Commit 8b461ff4 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

--warning

Do not capture a variable that we don't use.
parent f7cd5c5d
......@@ -1275,7 +1275,7 @@ SurfaceTreeModel::SurfaceTreeModel(QObject *parent)
watchSubsurfaces(c);
}
connect(workspace(), &Workspace::clientAdded, this,
[this, reset, watchSubsurfaces] (AbstractClient *c) {
[reset, watchSubsurfaces] (AbstractClient *c) {
watchSubsurfaces(c);
reset();
}
......
Markdown is supported
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