forked from qt-creator/qt-creator
Beautifier: Add accelerators to menu items
Change-Id: Ie94b09ed640df457235be6b8a145d953c4eca03e Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
52957d22b2
commit
365e747a11
@@ -73,7 +73,7 @@ QString ClangFormat::id() const
|
||||
bool ClangFormat::initialize()
|
||||
{
|
||||
Core::ActionContainer *menu = Core::ActionManager::createMenu(Constants::ClangFormat::MENU_ID);
|
||||
menu->menu()->setTitle(tr(Constants::ClangFormat::DISPLAY_NAME));
|
||||
menu->menu()->setTitle(tr("&ClangFormat"));
|
||||
|
||||
m_formatFile = new QAction(BeautifierPlugin::msgFormatCurrentFile(), this);
|
||||
Core::Command *cmd
|
||||
|
||||
Reference in New Issue
Block a user