Skip to content
Snippets Groups Projects
Commit 2ec7f0b4 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Share the debug object references.

parent 6559ec7d
No related branches found
No related tags found
No related merge requests found
...@@ -336,9 +336,12 @@ void Delta::operator()(Document::Ptr doc, Document::Ptr previousDoc) ...@@ -336,9 +336,12 @@ void Delta::operator()(Document::Ptr doc, Document::Ptr previousDoc)
_changes.clear(); _changes.clear();
const QUrl url = QUrl::fromLocalFile(doc->fileName()); const QUrl url = QUrl::fromLocalFile(doc->fileName());
ScriptBindingParser bindingParser(doc, ClientProxy::instance()->objectReferences(url)); const QList<QDeclarativeDebugObjectReference> references = ClientProxy::instance()->objectReferences(url);
ScriptBindingParser bindingParser(doc, references);
bindingParser.process(); bindingParser.process();
ScriptBindingParser previousBindingParser(previousDoc, ClientProxy::instance()->objectReferences(url));
ScriptBindingParser previousBindingParser(previousDoc, references);
previousBindingParser.process(); previousBindingParser.process();
QHash<UiObjectMember *, UiObjectMember *> preservedObjects; QHash<UiObjectMember *, UiObjectMember *> preservedObjects;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment