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;
|
||||
args << popped;
|
||||
if (m_eventListeners.contains("popup")) {
|
||||
callEventListeners("popup");
|
||||
if (m_eventListeners.contains("popupevent")) {
|
||||
callEventListeners("popupevent");
|
||||
} else {
|
||||
callPlasmoidFunction("popupEvent", args);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user