OSDN Git Service

Merge remote branch 'origin/2.0'
[qt-creator-jp/qt-creator-jp.git] / src / libs / qmljs / qmljslink.cpp
index 9f5c29a..41e713e 100644 (file)
@@ -54,8 +54,6 @@ void Link::initializeScopeChain()
     QHash<Document *, ScopeChain::QmlComponentChain *> componentScopes;
 
     if (_doc->qmlProgram()) {
-        _context->setLookupMode(Context::QmlLookup);
-
         scopeChain.qmlComponentScope.clear();
         componentScopes.insert(_doc.data(), &scopeChain.qmlComponentScope);
         makeComponentChain(_doc, &scopeChain.qmlComponentScope, &componentScopes);