summaryrefslogtreecommitdiffstats
path: root/objects/editors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'objects/editors.cpp')
-rw-r--r--objects/editors.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/objects/editors.cpp b/objects/editors.cpp
index 7d1ed03..85e73c3 100644
--- a/objects/editors.cpp
+++ b/objects/editors.cpp
@@ -39,6 +39,7 @@
#include <texteditor/basetexteditor.h>
#include <coreplugin/idocument.h>
#include <coreplugin/editormanager/ieditor.h>
+#include <cpptools/cppmodelmanagerinterface.h>
using namespace Scripting;
using namespace Scripting::Internal;
@@ -52,7 +53,7 @@ static Editor *wrapEditor(Core::IEditor *editor) {
Editor *wrapper;
const QString fileName = editor->document()->fileName();
- if ( CPlusPlus::CppModelManagerInterface::instance()->isCppEditor(editor) )
+ if ( CppTools::CppModelManagerInterface::instance()->isCppEditor(editor) )
wrapper = new Scripting::Internal::CppEditor;
else if (qobject_cast<TextEditor::BaseTextEditor*>(editor))
wrapper = new BaseTextEditor;