We used to register the calls to update, but that happens
only when the binding is created. Evaluation occurs at run.
Change-Id: I01927a1eb515a83b4e5c69c6fcf5f358a8e5878f
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
void QV4Bindings::Binding::update(QDeclarativePropertyPrivate::WriteFlags flags)
{
- QString bindingUrl;
- if (parent->context())
- bindingUrl = parent->context()->url.toString();
-
- QDeclarativeBindingProfiler prof(bindingUrl, line, column);
parent->run(this, flags);
}
return;
}
+ QDeclarativeBindingProfiler prof(context->url.toString(), binding->line, binding->column);
+
binding->updating = true;
if (binding->property & 0xFFFF0000) {
QDeclarativeEnginePrivate *ep = QDeclarativeEnginePrivate::get(context->engine);