diff options
author | hjk <hjk121@nokiamail.com> | 2014-09-03 12:43:01 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-09-03 15:53:03 +0200 |
commit | afd56bd8ada761b87c40d80a07cd3b3766b2d2f8 (patch) | |
tree | df73273004d0f3b7653749ce2beac7d511056ab2 /src/plugins | |
parent | 4d93bb8216e80dac72d470354b23b6d69d804b3c (diff) | |
download | qt-creator-afd56bd8ada761b87c40d80a07cd3b3766b2d2f8.tar.gz |
CppEditor: Don't set TextEditor context twice
Change-Id: I9ea66b8a890c75cd993a0e160d79231e5662a1e3
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
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) |