--warning
Do not capture a variable that we don't use.
This commit is contained in:
parent
f7cd5c5d4a
commit
8b461ff49f
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue