diff options
author | con <qtc-committer@nokia.com> | 2010-01-11 16:52:38 +0100 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2010-01-11 16:54:30 +0100 |
commit | a24738ffab1e6af425664e88d95a0d755be641d8 (patch) | |
tree | 8a45aec3b7c5a25e4c9d5e7049eb5e607a0a1037 /src/plugins/cpptools/cpptoolsplugin.cpp | |
parent | 033a094a2e83be79535d2a1e03c313aac8e13464 (diff) | |
download | qt-creator-a24738ffab1e6af425664e88d95a0d755be641d8.tar.gz |
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.
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.cpp')
-rw-r--r-- | src/plugins/cpptools/cpptoolsplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<int> context = QList<int>() << m_context; QAction *switchAction = new QAction(tr("Switch Header/Source"), this); |