From f1881777b714ea6d7a8d10081668129ab4028b12 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Wed, 27 Nov 2019 16:47:42 +0100 Subject: [PATCH] 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 --- src/plugins/qmakeprojectmanager/qmakeprojectmanagerplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmakeprojectmanager/qmakeprojectmanagerplugin.cpp b/src/plugins/qmakeprojectmanager/qmakeprojectmanagerplugin.cpp index c8bd5614df7..21978b33c24 100644 --- a/src/plugins/qmakeprojectmanager/qmakeprojectmanagerplugin.cpp +++ b/src/plugins/qmakeprojectmanager/qmakeprojectmanagerplugin.cpp @@ -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);