Fix screenChanged in javascript appletinterface signal and forward it
Signal/slot signatures were wrong. Correctly forward the screenChanged signal. This removes the following warning for me when running a QML containment in plasmoidviewer: Object::connect: No such slot ContainmentInterface::screenChanged() in /home/sebas/kdesvn/src/kde/kde-runtime/plasma/scriptengines/javascript/plasmoid/appletinterface.cpp:605 REVIEW:106936
This commit is contained in:
parent
ee7255b261
commit
a8ba890850
@ -602,7 +602,7 @@ ContainmentInterface::ContainmentInterface(AbstractJsAppletScript *parent)
|
||||
|
||||
connect(containment(), SIGNAL(appletAdded(Plasma::Applet *, const QPointF &)), this, SLOT(appletAddedForward(Plasma::Applet *, const QPointF &)));
|
||||
|
||||
connect(containment(), SIGNAL(screenChanged(int, int, Plasma::Containment)), this, SLOT(screenChanged()));
|
||||
connect(containment(), SIGNAL(screenChanged(int, int, Plasma::Containment*)), this, SIGNAL(screenChanged()));
|
||||
|
||||
connect(containment()->context(), SIGNAL(activityChanged(Plasma::Context *)), this, SIGNAL(activityNameChanged()));
|
||||
connect(containment()->context(), SIGNAL(changed(Plasma::Context *)), this, SIGNAL(activityIdChanged()));
|
||||
|
Loading…
Reference in New Issue
Block a user