CppEditor: Don't set TextEditor context twice

Change-Id: I9ea66b8a890c75cd993a0e160d79231e5662a1e3
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
hjk
2014-09-03 12:43:01 +02:00
parent 4d93bb8216
commit afd56bd8ad

View File

@@ -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)