ui: Added link to changelog to help menu (issue #653)

This commit is contained in:
Eberhard Graether
2019-01-08 14:17:14 +01:00
parent 29d5ae2cd0
commit d6a07e9477
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -567,6 +567,11 @@ void QtMainWindow::showErrorHelpMessage()
MessageErrorsHelpMessage(true).dispatch();
}
void QtMainWindow::showChangelog()
{
QDesktopServices::openUrl(QUrl("https://github.com/CoatiSoftware/SourcetrailBugTracker/#changelog"));
}
void QtMainWindow::showBugtracker()
{
QDesktopServices::openUrl(QUrl("https://github.com/CoatiSoftware/SourcetrailBugTracker/issues"));
@@ -1104,6 +1109,7 @@ void QtMainWindow::setupHelpMenu()
menu->addAction(tr("Keyboard Shortcuts"), this, &QtMainWindow::showKeyboardShortcuts);
menu->addAction(tr("Fixing Errors"), this, &QtMainWindow::showErrorHelpMessage);
menu->addAction(tr("Documentation"), this, &QtMainWindow::showDocumentation);
menu->addAction(tr("Changelog"), this, &QtMainWindow::showChangelog);
menu->addAction(tr("Bug Tracker"), this, &QtMainWindow::showBugtracker);
menu->addSeparator();
+1
View File
@@ -102,6 +102,7 @@ protected:
public slots:
void about();
void openSettings();
void showChangelog();
void showBugtracker();
void showDocumentation();
void showKeyboardShortcuts();