From 484b7d9b55ad789e9bca3807cab2194f3438f2da Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 8 Aug 2013 15:37:13 +0200 Subject: [PATCH] port to new connect syntax --- src/scriptengines/qml/plasmoid/declarativeappletscript.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }