From a9698ea64fc9f4cbfd82720412eae9e1ce672f12 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Sun, 29 Sep 2024 23:32:35 +0200 Subject: [PATCH] --warning captured variable is unused --- src/wayland_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland_server.cpp b/src/wayland_server.cpp index 83707ab2c6..9bf61e7e80 100644 --- a/src/wayland_server.cpp +++ b/src/wayland_server.cpp @@ -639,7 +639,7 @@ void WaylandServer::initScreenLocker() ScreenLocker::KSldApp::self()->setGreeterEnvironment(kwinApp()->processStartupEnvironment()); - connect(ScreenLocker::KSldApp::self(), &ScreenLocker::KSldApp::aboutToLock, this, [this, screenLockerApp]() { + connect(ScreenLocker::KSldApp::self(), &ScreenLocker::KSldApp::aboutToLock, this, [this]() { new LockScreenPresentationWatcher(this); });