forked from qt-creator/qt-creator
AutoTest: Add an accelerator to menu entry
Change-Id: I8e94912fdbdf1f0dbd7366e96222d04f6c838586 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
committed by
Christian Stenger
parent
e3d4e1c825
commit
8850e163e3
@@ -94,7 +94,7 @@ QSharedPointer<TestSettings> AutotestPlugin::settings() const
|
|||||||
void AutotestPlugin::initializeMenuEntries()
|
void AutotestPlugin::initializeMenuEntries()
|
||||||
{
|
{
|
||||||
ActionContainer *menu = ActionManager::createMenu(Constants::MENU_ID);
|
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);
|
QAction *action = new QAction(tr("Run &All Tests"), this);
|
||||||
Command *command = ActionManager::registerAction(action, Constants::ACTION_RUN_ALL_ID);
|
Command *command = ActionManager::registerAction(action, Constants::ACTION_RUN_ALL_ID);
|
||||||
|
|||||||
Reference in New Issue
Block a user