[screenedges] Add a missing context to connect

Lambda capturing this should get disconnected when this gets destroyed.
icc-effect-5.14.5
Martin Gräßlin 2015-09-30 10:48:11 +02:00
parent 1f2087ce7c
commit 8073d851c4
1 changed files with 1 additions and 1 deletions

View File

@ -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<Client*>(c);
if (!client) {
return;