diff --git a/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp b/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp index 050734008..140ffb122 100644 --- a/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp +++ b/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp @@ -88,8 +88,8 @@ bool DeclarativeAppletScript::init() // set the graphicObject dynamic property on applet a->setProperty("graphicObject", QVariant::fromValue(m_interface)); - connect(applet(), SIGNAL(activate()), - this, SLOT(activate())); + connect(applet(), &Plasma::Applet::activate, + this, &DeclarativeAppletScript::activate); return true; }