don't forget to pass the args
svn path=/trunk/KDE/kdebase/runtime/; revision=1182721
This commit is contained in:
parent
fb9a7394af
commit
11f05f4df3
@ -168,7 +168,7 @@ void SimpleJavaScriptApplet::extenderItemRestored(Plasma::ExtenderItem* item)
|
|||||||
QScriptValueList args;
|
QScriptValueList args;
|
||||||
args << m_engine->newQObject(item, QScriptEngine::AutoOwnership, QScriptEngine::PreferExistingWrapperObject);
|
args << m_engine->newQObject(item, QScriptEngine::AutoOwnership, QScriptEngine::PreferExistingWrapperObject);
|
||||||
|
|
||||||
if (!env->callEventListeners("initExtenderItem")) {
|
if (!env->callEventListeners("initExtenderItem", args)) {
|
||||||
callPlasmoidFunction("initExtenderItem", args, env);
|
callPlasmoidFunction("initExtenderItem", args, env);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user