From a24738ffab1e6af425664e88d95a0d755be641d8 Mon Sep 17 00:00:00 2001 From: con Date: Mon, 11 Jan 2010 16:52:38 +0100 Subject: 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. --- src/plugins/cpptools/cpptoolsplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/cpptools/cpptoolsplugin.cpp') diff --git a/src/plugins/cpptools/cpptoolsplugin.cpp b/src/plugins/cpptools/cpptoolsplugin.cpp index d921aa4bd2..7b758237c0 100644 --- a/src/plugins/cpptools/cpptoolsplugin.cpp +++ b/src/plugins/cpptools/cpptoolsplugin.cpp @@ -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 context = QList() << m_context; QAction *switchAction = new QAction(tr("Switch Header/Source"), this); -- cgit v1.2.1