forked from qt-creator/qt-creator
Add "s" as mnemonic for Build > Build Subproject
This allows users to work on a top-level SUBDIR project and build a given subproject without resorting to using the mouse. Explicitly building a subproject like this is necessary when that subproject is not automatically built, such as auto tests when Qt is configured with -nomake tests. Change-Id: Ibdf18c5a0c60c53decf8bff5daa8615a1454d9df Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -209,7 +209,7 @@ bool QmakeProjectManagerPlugin::initialize(const QStringList &arguments, QString
|
||||
connect(d->m_buildFileContextMenu, &QAction::triggered,
|
||||
&d->qmakeProjectManager, &QmakeManager::buildFileContextMenu);
|
||||
|
||||
d->m_buildSubProjectAction = new Utils::ParameterAction(tr("Build Subproject"), tr("Build Subproject \"%1\""),
|
||||
d->m_buildSubProjectAction = new Utils::ParameterAction(tr("Build &Subproject"), tr("Build &Subproject \"%1\""),
|
||||
Utils::ParameterAction::AlwaysEnabled, this);
|
||||
command = ActionManager::registerAction(d->m_buildSubProjectAction, Constants::BUILDSUBDIR, projectContext);
|
||||
command->setAttribute(Command::CA_Hide);
|
||||
|
Reference in New Issue
Block a user