diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/cppeditor/cppeditor.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/cppeditor.cpp b/src/plugins/cppeditor/cppeditor.cpp index e33a09ac58..cf5228c442 100644 --- a/src/plugins/cppeditor/cppeditor.cpp +++ b/src/plugins/cppeditor/cppeditor.cpp @@ -92,8 +92,7 @@ namespace Internal { CppEditor::CppEditor() { - m_context.add(ProjectExplorer::Constants::LANG_CXX); - m_context.add(TextEditor::Constants::C_TEXTEDITOR); + addContext(ProjectExplorer::Constants::LANG_CXX); } Q_GLOBAL_STATIC(CppTools::SymbolFinder, symbolFinder) |