add discord link.
Some checks failed
eden-build / source (pull_request) Has been cancelled
eden-build / windows (msvc) (pull_request) Has been cancelled
eden-build / linux (pull_request) Has been cancelled
eden-build / android (pull_request) Has been cancelled
eden-license / license-header (pull_request_target) Has been cancelled

Signed-off-by: swurl <swurl@swurl.xyz>
This commit is contained in:
swurl 2025-05-11 02:15:49 -04:00
parent 205a895367
commit debd2cf851
Signed by: crueter
GPG key ID: A5A7629F109C8FD1
3 changed files with 15 additions and 2 deletions

View file

@ -1592,6 +1592,7 @@ void GMainWindow::ConnectMenuEvents() {
// Help // Help
connect_menu(ui->action_Open_yuzu_Folder, &GMainWindow::OnOpenYuzuFolder); connect_menu(ui->action_Open_yuzu_Folder, &GMainWindow::OnOpenYuzuFolder);
connect_menu(ui->action_Discord, &GMainWindow::OnOpenDiscord);
connect_menu(ui->action_Verify_installed_contents, &GMainWindow::OnVerifyInstalledContents); connect_menu(ui->action_Verify_installed_contents, &GMainWindow::OnVerifyInstalledContents);
connect_menu(ui->action_Install_Firmware, &GMainWindow::OnInstallFirmware); connect_menu(ui->action_Install_Firmware, &GMainWindow::OnInstallFirmware);
connect_menu(ui->action_Install_Keys, &GMainWindow::OnInstallDecryptionKeys); connect_menu(ui->action_Install_Keys, &GMainWindow::OnInstallDecryptionKeys);
@ -3621,11 +3622,16 @@ void GMainWindow::OnOpenModsPage() {
} }
void GMainWindow::OnOpenQuickstartGuide() { void GMainWindow::OnOpenQuickstartGuide() {
OpenURL(QUrl(QStringLiteral("https://eden-emulator.github.io/help/quickstart/"))); OpenURL(QUrl(QStringLiteral("https://yuzu-mirror.github.io/help/quickstart/")));
} }
void GMainWindow::OnOpenFAQ() { void GMainWindow::OnOpenFAQ() {
OpenURL(QUrl(QStringLiteral("https://eden-emulator.github.io/wiki/faq/"))); OpenURL(QUrl(QStringLiteral("https://eden-emulator.github.io/")));
}
void GMainWindow::OnOpenDiscord()
{
OpenURL(QUrl(QStringLiteral("https://discord.gg/edenemu")));
} }
void GMainWindow::ToggleFullscreen() { void GMainWindow::ToggleFullscreen() {

View file

@ -338,6 +338,7 @@ private slots:
void OnOpenModsPage(); void OnOpenModsPage();
void OnOpenQuickstartGuide(); void OnOpenQuickstartGuide();
void OnOpenFAQ(); void OnOpenFAQ();
void OnOpenDiscord();
/// Called whenever a user selects a game in the game list widget. /// Called whenever a user selects a game in the game list widget.
void OnGameListLoadFile(QString game_path, u64 program_id); void OnGameListLoadFile(QString game_path, u64 program_id);
void OnGameListOpenFolder(u64 program_id, GameListOpenTarget target, void OnGameListOpenFolder(u64 program_id, GameListOpenTarget target,

View file

@ -188,6 +188,7 @@
<addaction name="action_Open_FAQ"/> <addaction name="action_Open_FAQ"/>
<addaction name="separator"/> <addaction name="separator"/>
<addaction name="action_About"/> <addaction name="action_About"/>
<addaction name="action_Discord"/>
</widget> </widget>
<addaction name="menu_File"/> <addaction name="menu_File"/>
<addaction name="menu_Emulation"/> <addaction name="menu_Emulation"/>
@ -484,6 +485,11 @@
<string>Open Home Menu</string> <string>Open Home Menu</string>
</property> </property>
</action> </action>
<action name="action_Discord">
<property name="text">
<string>&amp;Discord</string>
</property>
</action>
</widget> </widget>
<resources> <resources>
<include location="yuzu.qrc"/> <include location="yuzu.qrc"/>