QbsProjectManager: Fix context menu grouping warning

3bd490acdb introduced a warning
Can't find group "ProjectExplorer.Group.Build" in container
"Project.Menu.Project"

Change-Id: I1a382f7e807b79a938ec70fd3b1b0a27d54c29f9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Tasuku Suzuki
2021-03-26 16:41:09 +09:00
parent c38739df57
commit 2ea13a359a

View File

@@ -143,7 +143,7 @@ bool QbsProjectManagerPlugin::initialize(const QStringList &arguments, QString *
m_reparseQbsCtx = new QAction(tr("Reparse Qbs"), this); m_reparseQbsCtx = new QAction(tr("Reparse Qbs"), this);
command = Core::ActionManager::registerAction(m_reparseQbsCtx, Constants::ACTION_REPARSE_QBS_CONTEXT, projectContext); command = Core::ActionManager::registerAction(m_reparseQbsCtx, Constants::ACTION_REPARSE_QBS_CONTEXT, projectContext);
command->setAttribute(Core::Command::CA_Hide); command->setAttribute(Core::Command::CA_Hide);
mproject->addAction(command, ProjectExplorer::Constants::G_BUILD_BUILD); mproject->addAction(command, ProjectExplorer::Constants::G_PROJECT_BUILD);
connect(m_reparseQbsCtx, &QAction::triggered, connect(m_reparseQbsCtx, &QAction::triggered,
this, &QbsProjectManagerPlugin::reparseSelectedProject); this, &QbsProjectManagerPlugin::reparseSelectedProject);