ui: Added link to changelog to help menu (issue #653)
This commit is contained in:
@@ -567,6 +567,11 @@ void QtMainWindow::showErrorHelpMessage()
|
|||||||
MessageErrorsHelpMessage(true).dispatch();
|
MessageErrorsHelpMessage(true).dispatch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void QtMainWindow::showChangelog()
|
||||||
|
{
|
||||||
|
QDesktopServices::openUrl(QUrl("https://github.com/CoatiSoftware/SourcetrailBugTracker/#changelog"));
|
||||||
|
}
|
||||||
|
|
||||||
void QtMainWindow::showBugtracker()
|
void QtMainWindow::showBugtracker()
|
||||||
{
|
{
|
||||||
QDesktopServices::openUrl(QUrl("https://github.com/CoatiSoftware/SourcetrailBugTracker/issues"));
|
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("Keyboard Shortcuts"), this, &QtMainWindow::showKeyboardShortcuts);
|
||||||
menu->addAction(tr("Fixing Errors"), this, &QtMainWindow::showErrorHelpMessage);
|
menu->addAction(tr("Fixing Errors"), this, &QtMainWindow::showErrorHelpMessage);
|
||||||
menu->addAction(tr("Documentation"), this, &QtMainWindow::showDocumentation);
|
menu->addAction(tr("Documentation"), this, &QtMainWindow::showDocumentation);
|
||||||
|
menu->addAction(tr("Changelog"), this, &QtMainWindow::showChangelog);
|
||||||
menu->addAction(tr("Bug Tracker"), this, &QtMainWindow::showBugtracker);
|
menu->addAction(tr("Bug Tracker"), this, &QtMainWindow::showBugtracker);
|
||||||
|
|
||||||
menu->addSeparator();
|
menu->addSeparator();
|
||||||
|
|||||||
@@ -102,6 +102,7 @@ protected:
|
|||||||
public slots:
|
public slots:
|
||||||
void about();
|
void about();
|
||||||
void openSettings();
|
void openSettings();
|
||||||
|
void showChangelog();
|
||||||
void showBugtracker();
|
void showBugtracker();
|
||||||
void showDocumentation();
|
void showDocumentation();
|
||||||
void showKeyboardShortcuts();
|
void showKeyboardShortcuts();
|
||||||
|
|||||||
Reference in New Issue
Block a user