keep it consistent with the name of callback in the plasmoid object
svn path=/trunk/KDE/kdebase/runtime/; revision=1109758
This commit is contained in:
parent
611d61d73f
commit
34faad3c3f
@ -187,8 +187,8 @@ void SimpleJavaScriptApplet::popupEvent(bool popped)
|
|||||||
{
|
{
|
||||||
QScriptValueList args;
|
QScriptValueList args;
|
||||||
args << popped;
|
args << popped;
|
||||||
if (m_eventListeners.contains("popup")) {
|
if (m_eventListeners.contains("popupevent")) {
|
||||||
callEventListeners("popup");
|
callEventListeners("popupevent");
|
||||||
} else {
|
} else {
|
||||||
callPlasmoidFunction("popupEvent", args);
|
callPlasmoidFunction("popupEvent", args);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user