From d1e24d19fb26270de9ac9b036991074be57538ba Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Thu, 10 Jul 2014 20:28:19 +0200 Subject: [PATCH] fix build on jenkins for some reason it works here... --- src/scriptengines/qml/plasmoid/containmentinterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scriptengines/qml/plasmoid/containmentinterface.cpp b/src/scriptengines/qml/plasmoid/containmentinterface.cpp index 6670d1393..dc4836a6b 100644 --- a/src/scriptengines/qml/plasmoid/containmentinterface.cpp +++ b/src/scriptengines/qml/plasmoid/containmentinterface.cpp @@ -146,7 +146,7 @@ void ContainmentInterface::init() connect(m_containment, &Plasma::Containment::activityChanged, this, &ContainmentInterface::activityChanged); - connect(m_containment, &Plasma::Containment::activityChanged, + connect(m_containment.data(), &Plasma::Containment::activityChanged, [ = ]() { delete m_activityInfo; m_activityInfo = new KActivities::Info(m_containment->activity(), this);