Get rid of BindPtr.

There is no reason to store the Bind object in a QSharedPointer because the `binder' has the same
lifetime of its document.
This commit is contained in:
Roberto Raggi
2010-02-03 15:59:15 +01:00
parent 976d74ca73
commit fcf81b22ed
6 changed files with 27 additions and 22 deletions

View File

@@ -45,7 +45,7 @@ void Link::scopeChainAt(Document::Ptr doc, Node *currentObject)
if (doc->qmlProgram() != 0)
_context.setLookupMode(Context::QmlLookup);
BindPtr bind = doc->bind();
Bind *bind = doc->bind();
// Build the scope chain.