From 87fbdd04fe3fd3fdf763be417b461645e0985afd Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Mon, 30 May 2022 19:37:46 +0100 Subject: [PATCH] [xdgshell] Remove unused captured variable --- src/xdgshellwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdgshellwindow.cpp b/src/xdgshellwindow.cpp index 95a8c9ddc4..de41c72a88 100644 --- a/src/xdgshellwindow.cpp +++ b/src/xdgshellwindow.cpp @@ -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] () {