From 8073d851c4099418d2349c8c1935ed573815e835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 30 Sep 2015 10:48:11 +0200 Subject: [PATCH] [screenedges] Add a missing context to connect Lambda capturing this should get disconnected when this gets destroyed. --- screenedge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenedge.cpp b/screenedge.cpp index fc94968622..dec6200ac5 100644 --- a/screenedge.cpp +++ b/screenedge.cpp @@ -648,7 +648,7 @@ ScreenEdges::ScreenEdges(QObject *parent) QWidget w; m_cornerOffset = (w.physicalDpiX() + w.physicalDpiY() + 5) / 6; - connect(workspace(), &Workspace::clientRemoved, [this](KWin::AbstractClient *c) { + connect(workspace(), &Workspace::clientRemoved, this, [this](KWin::AbstractClient *c) { Client *client = qobject_cast(c); if (!client) { return;