summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/MenuBar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinQt2/MenuBar.cpp')
-rw-r--r--Source/Core/DolphinQt2/MenuBar.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/MenuBar.cpp b/Source/Core/DolphinQt2/MenuBar.cpp
index 417156552c..4f3997ffd8 100644
--- a/Source/Core/DolphinQt2/MenuBar.cpp
+++ b/Source/Core/DolphinQt2/MenuBar.cpp
@@ -173,10 +173,20 @@ void MenuBar::AddViewMenu()
void MenuBar::AddHelpMenu()
{
QMenu* help_menu = addMenu(tr("Help"));
+ QAction* website = help_menu->addAction(tr("Website"));
+ connect(website, &QAction::triggered, this,
+ []() { QDesktopServices::openUrl(QUrl(QStringLiteral("https://dolphin-emu.org/"))); });
QAction* documentation = help_menu->addAction(tr("Online Documentation"));
- connect(documentation, &QAction::triggered, this, [=]() {
+ connect(documentation, &QAction::triggered, this, []() {
QDesktopServices::openUrl(QUrl(QStringLiteral("https://dolphin-emu.org/docs/guides")));
});
+ QAction* github = help_menu->addAction(tr("GitHub Repository"));
+ connect(github, &QAction::triggered, this, []() {
+ QDesktopServices::openUrl(QUrl(QStringLiteral("https://github.com/dolphin-emu/dolphin")));
+ });
+
+ help_menu->addSeparator();
+
help_menu->addAction(tr("About"), this, SIGNAL(ShowAboutDialog()));
}