diff options
Diffstat (limited to 'src/plugins/qmljseditor/qmljscompletionassist.cpp')
-rw-r--r-- | src/plugins/qmljseditor/qmljscompletionassist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmljseditor/qmljscompletionassist.cpp b/src/plugins/qmljseditor/qmljscompletionassist.cpp index d4ebebcd56..349921e846 100644 --- a/src/plugins/qmljseditor/qmljscompletionassist.cpp +++ b/src/plugins/qmljseditor/qmljscompletionassist.cpp @@ -54,7 +54,7 @@ #include <qmljs/qmljscompletioncontextfinder.h> #include <qmljs/qmljsbundle.h> #include <qmljs/qmljsscopebuilder.h> -#include <projectexplorer/projectexplorer.h> +#include <projectexplorer/projecttree.h> #include <QFile> #include <QFileInfo> @@ -652,7 +652,7 @@ IAssistProposal *QmlJSCompletionAssistProcessor::perform(const AssistInterface * // currently path-in-stringliteral is the only completion available in imports if (contextFinder.isInImport()) { QmlJS::ModelManagerInterface::ProjectInfo pInfo = QmlJS::ModelManagerInterface::instance() - ->projectInfo(ProjectExplorer::ProjectExplorerPlugin::currentProject()); + ->projectInfo(ProjectExplorer::ProjectTree::currentProject()); QmlBundle platform = pInfo.extendedBundle.bundleForLanguage(document->language()); if (!platform.supportedImports().isEmpty()) { QTextCursor tc(qmlInterface->textDocument()); |