[xdgshell] Remove unused captured variable

This commit is contained in:
David Edmundson 2022-05-30 19:37:46 +01:00
parent bc4d1cf129
commit 87fbdd04fe

View file

@ -438,7 +438,7 @@ void XdgSurfaceWindow::installPlasmaShellSurface(PlasmaShellSurfaceInterface *sh
auto updatePosition = [this, shellSurface] {
move(shellSurface->position());
};
auto moveUnderCursor = [this, shellSurface] {
auto moveUnderCursor = [this] {
// Wait for the first commit
auto connection = new QMetaObject::Connection;
*connection = connect(this, &Window::windowShown, [this, connection] () {