forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user