diff options
author | hjk <qtc-committer@nokia.com> | 2010-06-25 12:56:16 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-06-25 12:58:07 +0200 |
commit | c7e8b51d37700499536e3ab333190abd127ea0f7 (patch) | |
tree | a37b295b137c0049958fb2283b169eec0cdc430c /src/plugins/cpptools/cpptoolsplugin.cpp | |
parent | a54fc1f6a1e2c2fa0a2f741558a95231c08925b4 (diff) | |
download | qt-creator-c7e8b51d37700499536e3ab333190abd127ea0f7.tar.gz |
core: use a class derived from QList<int> instead of a QList<int> for Core::Context
A mostly mechanical change.
Reviewed-By: con
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 61173c8e5f..b06cb5743a 100644 --- a/src/plugins/cpptools/cpptoolsplugin.cpp +++ b/src/plugins/cpptools/cpptoolsplugin.cpp @@ -132,7 +132,7 @@ bool CppToolsPlugin::initialize(const QStringList &arguments, QString *error) // Actions m_context = core->uniqueIDManager()->uniqueIdentifier(CppEditor::Constants::C_CPPEDITOR); - QList<int> context = QList<int>() << m_context; + Core::Context context(m_context); QAction *switchAction = new QAction(tr("Switch Header/Source"), this); Core::Command *command = am->registerAction(switchAction, Constants::SWITCH_HEADER_SOURCE, context); |