forked from qt-creator/qt-creator
Collect Qt Creator debug menu items into common submenu
instead of spreading them over the place. - rename "Logger..." to "Show Logs..." - create "Tools > Debug Qt Creator" menu and put "Show Logs", "Inspect Language Clients" and "Inspect C++ Code Model" there - add missing ellipsis That gets rid of the otherwise not useful "Language Client" submenu, and creates a nicer place for the "Show Logs" item. Change-Id: I2588b4c93327669579979dfbfce37005ada29dab Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -472,7 +472,7 @@ DiffEditorPluginPrivate::DiffEditorPluginPrivate()
|
||||
//register actions
|
||||
ActionContainer *toolsContainer
|
||||
= ActionManager::actionContainer(Core::Constants::M_TOOLS);
|
||||
toolsContainer->insertGroup(Core::Constants::G_TOOLS_OPTIONS, Constants::G_TOOLS_DIFF);
|
||||
toolsContainer->insertGroup(Core::Constants::G_TOOLS_DEBUG, Constants::G_TOOLS_DIFF);
|
||||
ActionContainer *diffContainer = ActionManager::createMenu("Diff");
|
||||
diffContainer->menu()->setTitle(tr("&Diff"));
|
||||
toolsContainer->addMenu(diffContainer, Constants::G_TOOLS_DIFF);
|
||||
|
||||
Reference in New Issue
Block a user