should be dataUpdated like everywhere else in plasma
svn path=/trunk/KDE/kdebase/runtime/; revision=1077767
This commit is contained in:
parent
cfb3f78aee
commit
f6d908b151
@ -154,9 +154,9 @@ void SimpleJavaScriptApplet::configChanged()
|
||||
|
||||
void SimpleJavaScriptApplet::dataUpdated(const QString &name, const DataEngine::Data &data)
|
||||
{
|
||||
QScriptValue fun = m_self.property("dataUpdate");
|
||||
QScriptValue fun = m_self.property("dataUpdated");
|
||||
if (!fun.isFunction()) {
|
||||
kDebug() << "Script: dataUpdate is not a function, " << fun.toString();
|
||||
kDebug() << "Script: dataUpdated is not a function, " << fun.toString();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user