forked from qt-creator/qt-creator
CppEditor: Don't set TextEditor context twice
Change-Id: I9ea66b8a890c75cd993a0e160d79231e5662a1e3 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user