Fixes: Diff editors don't get correct name.

They were no longer showing e.g. the file name of the diffed file.
Also separate editor id and editor context a bit.
This commit is contained in:
con
2010-01-11 16:52:38 +01:00
parent 033a094a2e
commit a24738ffab
26 changed files with 32 additions and 41 deletions

View File

@@ -128,7 +128,7 @@ bool CppToolsPlugin::initialize(const QStringList &arguments, QString *error)
mtools->addMenu(mcpptools);
// Actions
m_context = core->uniqueIDManager()->uniqueIdentifier(CppEditor::Constants::CPPEDITOR_ID);
m_context = core->uniqueIDManager()->uniqueIdentifier(CppEditor::Constants::C_CPPEDITOR);
QList<int> context = QList<int>() << m_context;
QAction *switchAction = new QAction(tr("Switch Header/Source"), this);