should be dataUpdated like everywhere else in plasma

svn path=/trunk/KDE/kdebase/runtime/; revision=1077767
This commit is contained in:
Aaron J. Seigo 2010-01-20 21:12:24 +00:00
parent cfb3f78aee
commit f6d908b151

View File

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