dataUpdated, just like everywhere else

svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1077769
This commit is contained in:
Aaron J. Seigo 2010-01-20 21:27:12 +00:00
parent 4f0c8a8812
commit a983cb2adc

View File

@ -164,9 +164,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;
}