use args for dataupdated too
svn path=/trunk/KDE/kdebase/runtime/; revision=1182724
This commit is contained in:
parent
11f05f4df3
commit
30072e63a3
@ -151,9 +151,10 @@ void SimpleJavaScriptApplet::dataUpdated(const QString &name, const DataEngine::
|
||||
return;
|
||||
}
|
||||
|
||||
if (!env->callEventListeners("dataUpdated")) {
|
||||
QScriptValueList args;
|
||||
args << m_engine->toScriptValue(name) << m_engine->toScriptValue(data);
|
||||
QScriptValueList args;
|
||||
args << m_engine->toScriptValue(name) << m_engine->toScriptValue(data);
|
||||
|
||||
if (!env->callEventListeners("dataUpdated", args)) {
|
||||
callPlasmoidFunction("dataUpdated", args, env);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user