forked from qt-creator/qt-creator
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:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user