AutoTest: Add an accelerator to menu entry

Change-Id: I8e94912fdbdf1f0dbd7366e96222d04f6c838586
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2016-01-24 09:03:45 +02:00
committed by Christian Stenger
parent e3d4e1c825
commit 8850e163e3

View File

@@ -94,7 +94,7 @@ QSharedPointer<TestSettings> AutotestPlugin::settings() const
void AutotestPlugin::initializeMenuEntries()
{
ActionContainer *menu = ActionManager::createMenu(Constants::MENU_ID);
menu->menu()->setTitle(tr("Tests"));
menu->menu()->setTitle(tr("&Tests"));
QAction *action = new QAction(tr("Run &All Tests"), this);
Command *command = ActionManager::registerAction(action, Constants::ACTION_RUN_ALL_ID);