am->actionContainer(M_HELP)->addAction(cmd, Core::Constants::G_HELP_HELP);
connect(action, SIGNAL(triggered()), this, SLOT(slotOpenSupportPage()));
+ action = new QAction(tr("Report Bug"), this);
+ cmd = am->registerAction(action, Core::Id("Help.ReportBug"), globalcontext);
+ am->actionContainer(M_HELP)->addAction(cmd, Core::Constants::G_HELP_HELP);
+ connect(action, SIGNAL(triggered()), this, SLOT(slotReportBug()));
+
#ifndef Q_WS_MAC
action = new QAction(this);
action->setSeparator(true);
switchToHelpMode(QUrl("qthelp://com.nokia.qtcreator/doc/technical-support.html"));
}
+void HelpPlugin::slotReportBug()
+{
+ QDesktopServices::openUrl(QUrl("http://bugreports.qt.nokia.com"));
+}
+
void HelpPlugin::openFindToolBar()
{
if (Find::FindPlugin::instance())