port to new connect syntax

This commit is contained in:
Marco Martin 2013-08-08 15:37:13 +02:00
parent 980e482f4d
commit 484b7d9b55

View File

@ -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;
}