diff --git a/Qt/mainwindow.cpp b/Qt/mainwindow.cpp index 8b59c683ea..c0473478a3 100644 --- a/Qt/mainwindow.cpp +++ b/Qt/mainwindow.cpp @@ -351,11 +351,21 @@ void MainWindow::forumAct() QDesktopServices::openUrl(QUrl("https://forums.ppsspp.org/")); } +void MainWindow::goldAct() +{ + QDesktopServices::openUrl(QUrl("https://central.ppsspp.org/buygold")); +} + void MainWindow::gitAct() { QDesktopServices::openUrl(QUrl("https://github.com/hrydgard/ppsspp/")); } +void MainWindow::discordAct() +{ + QDesktopServices::openUrl(QUrl("https://discord.gg/5NJB6dD")); +} + void MainWindow::aboutAct() { QMessageBox::about(this, "About", QString("PPSSPP Qt %1\n\n" @@ -598,10 +608,13 @@ void MainWindow::createMenus() // Help MenuTree* helpMenu = new MenuTree(this, menuBar(), QT_TR_NOOP("&Help")); - helpMenu->add(new MenuAction(this, SLOT(websiteAct()), QT_TR_NOOP("Official &website"), QKeySequence::HelpContents)); - helpMenu->add(new MenuAction(this, SLOT(forumAct()), QT_TR_NOOP("Official &forum"))); - helpMenu->add(new MenuAction(this, SLOT(gitAct()), QT_TR_NOOP("&GitHub"))); - helpMenu->add(new MenuAction(this, SLOT(aboutAct()), QT_TR_NOOP("&About PPSSPP..."), QKeySequence::WhatsThis)); + helpMenu->add(new MenuAction(this, SLOT(websiteAct()), QT_TR_NOOP("Visit www.&ppsspp.org"))); + helpMenu->add(new MenuAction(this, SLOT(forumAct()), QT_TR_NOOP("PPSSPP &forums"))); + helpMenu->add(new MenuAction(this, SLOT(goldAct()), QT_TR_NOOP("Buy &Gold"))); + helpMenu->add(new MenuAction(this, SLOT(gitAct()), QT_TR_NOOP("Git&Hub"))); + helpMenu->add(new MenuAction(this, SLOT(discordAct()), QT_TR_NOOP("Discord"))); + helpMenu->addSeparator(); + helpMenu->add(new MenuAction(this, SLOT(aboutAct()), QT_TR_NOOP("&About PPSSPP..."))); retranslate(); } diff --git a/Qt/mainwindow.h b/Qt/mainwindow.h index 8023fe408d..fc776d7796 100644 --- a/Qt/mainwindow.h +++ b/Qt/mainwindow.h @@ -147,7 +147,9 @@ private slots: // Help void websiteAct(); void forumAct(); + void goldAct(); void gitAct(); + void discordAct(); void aboutAct(); // Others