From c7e8b51d37700499536e3ab333190abd127ea0f7 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 25 Jun 2010 12:56:16 +0200 Subject: core: use a class derived from QList instead of a QList for Core::Context A mostly mechanical change. Reviewed-By: con --- src/plugins/find/findplugin.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/plugins/find/findplugin.cpp') diff --git a/src/plugins/find/findplugin.cpp b/src/plugins/find/findplugin.cpp index 65aaebb2ea..3f2c51263e 100644 --- a/src/plugins/find/findplugin.cpp +++ b/src/plugins/find/findplugin.cpp @@ -41,6 +41,7 @@ #include #include #include +#include #include @@ -191,7 +192,7 @@ void FindPlugin::setupMenu() mfind->appendGroup(Constants::G_FIND_FILTERS); mfind->appendGroup(Constants::G_FIND_FLAGS); mfind->appendGroup(Constants::G_FIND_ACTIONS); - QList globalcontext = QList() << Core::Constants::C_GLOBAL_ID; + Core::Context globalcontext(Core::Constants::C_GLOBAL_ID); Core::Command *cmd; QAction *separator; separator = new QAction(this); @@ -219,7 +220,7 @@ void FindPlugin::setupFilterMenuItems() QList findInterfaces = ExtensionSystem::PluginManager::instance()->getObjects(); Core::Command *cmd; - QList globalcontext = QList() << Core::Constants::C_GLOBAL_ID; + Core::Context globalcontext(Core::Constants::C_GLOBAL_ID); Core::ActionContainer *mfindadvanced = am->actionContainer(Constants::M_FIND_ADVANCED); d->m_filterActions.clear(); -- cgit v1.2.1