forked from qt-creator/qt-creator
Put "Technical Support", "Report Bug..." in a separate menu group
This allows other plugins to add actions here. Change-Id: Id5b751bf719533842ba426ecdb4f98c43a73755b Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -511,6 +511,7 @@ void MainWindow::registerDefaultContainers()
|
||||
menubar->addMenu(ac, Constants::G_HELP);
|
||||
ac->menu()->setTitle(tr("&Help"));
|
||||
ac->appendGroup(Constants::G_HELP_HELP);
|
||||
ac->appendGroup(Constants::G_HELP_SUPPORT);
|
||||
ac->appendGroup(Constants::G_HELP_ABOUT);
|
||||
}
|
||||
|
||||
@@ -746,6 +747,11 @@ void MainWindow::registerDefaultActions()
|
||||
mwindow->addMenu(mviews, Constants::G_WINDOW_VIEWS);
|
||||
mviews->menu()->setTitle(tr("&Views"));
|
||||
|
||||
// "Help" separators
|
||||
mhelp->addSeparator(globalContext, Constants::G_HELP_SUPPORT);
|
||||
if (!Utils::HostOsInfo::isMacHost())
|
||||
mhelp->addSeparator(globalContext, Constants::G_HELP_ABOUT);
|
||||
|
||||
// About IDE Action
|
||||
icon = QIcon::fromTheme(QLatin1String("help-about"));
|
||||
if (Utils::HostOsInfo::isMacHost())
|
||||
|
||||
Reference in New Issue
Block a user