summaryrefslogtreecommitdiff
path: root/src/plugins/qmljseditor/qmljsfindreferences.cpp
diff options
context:
space:
mode:
authorFawzi Mohamed <fawzi.mohamed@digia.com>2013-10-16 15:08:27 +0200
committerFawzi Mohamed <fawzi.mohamed@digia.com>2013-11-20 12:26:30 +0100
commite1b44e870f5c15daad136f609df2175278e1f62c (patch)
tree4efbb09cd1c9de50a8e817ee8ed34634cf07fb35 /src/plugins/qmljseditor/qmljsfindreferences.cpp
parent5bf3ed7c6a2904a0dbec76b821e8e48c765c08c7 (diff)
downloadqt-creator-e1b44e870f5c15daad136f609df2175278e1f62c.tar.gz
qmljs: new import/dep tracking
Change-Id: I9f4de2a06aad3afb80372a4b80e56db658683575 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Diffstat (limited to 'src/plugins/qmljseditor/qmljsfindreferences.cpp')
-rw-r--r--src/plugins/qmljseditor/qmljsfindreferences.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmljseditor/qmljsfindreferences.cpp b/src/plugins/qmljseditor/qmljsfindreferences.cpp
index a8b7d70914..48a16d0de0 100644
--- a/src/plugins/qmljseditor/qmljsfindreferences.cpp
+++ b/src/plugins/qmljseditor/qmljsfindreferences.cpp
@@ -831,7 +831,7 @@ static void find_helper(QFutureInterface<FindReferences::Usage> &future,
QmlJS::ModelManagerInterface *modelManager = QmlJS::ModelManagerInterface::instance();
- Link link(snapshot, modelManager->importPaths(), modelManager->builtins(doc));
+ Link link(snapshot, modelManager->defaultVContext(), modelManager->builtins(doc));
ContextPtr context = link();
ScopeChain scopeChain(doc, context);