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:
Aaron J. Seigo 2010-04-01 00:59:14 +00:00
parent 611d61d73f
commit 34faad3c3f

View File

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