Commit afd56bd8 authored by hjk's avatar hjk

CppEditor: Don't set TextEditor context twice

Change-Id: I9ea66b8a890c75cd993a0e160d79231e5662a1e3
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 4d93bb82
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment