dataUpdated, just like everywhere else
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1077769
This commit is contained in:
parent
4f0c8a8812
commit
a983cb2adc
@ -164,9 +164,9 @@ void SimpleJavaScriptApplet::configChanged()
|
|||||||
|
|
||||||
void SimpleJavaScriptApplet::dataUpdated(const QString &name, const DataEngine::Data &data)
|
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()) {
|
if (!fun.isFunction()) {
|
||||||
kDebug() << "Script: dataUpdate is not a function, " << fun.toString();
|
kDebug() << "Script: dataUpdated is not a function, " << fun.toString();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user