diff --git a/src/duckstation-qt/mainwindow.cpp b/src/duckstation-qt/mainwindow.cpp index 48580b318..8b6ffe6bc 100644 --- a/src/duckstation-qt/mainwindow.cpp +++ b/src/duckstation-qt/mainwindow.cpp @@ -274,6 +274,11 @@ void MainWindow::onIssueTrackerActionTriggered() OpenURL(this, "https://github.com/stenzek/duckstation/issues"); } +void MainWindow::onDiscordServerActionTriggered() +{ + OpenURL(this, "https://discord.gg/Buktv3t"); +} + void MainWindow::onAboutActionTriggered() {} void MainWindow::onGameListEntrySelected(const GameListEntry* entry) @@ -501,6 +506,7 @@ void MainWindow::connectSignals() [this]() { doSettings(SettingsDialog::Category::AudioSettings); }); connect(m_ui.actionGitHubRepository, &QAction::triggered, this, &MainWindow::onGitHubRepositoryActionTriggered); connect(m_ui.actionIssueTracker, &QAction::triggered, this, &MainWindow::onIssueTrackerActionTriggered); + connect(m_ui.actionDiscordServer, &QAction::triggered, this, &MainWindow::onDiscordServerActionTriggered); connect(m_ui.actionAbout, &QAction::triggered, this, &MainWindow::onAboutActionTriggered); connect(m_host_interface, &QtHostInterface::errorReported, this, &MainWindow::reportError, diff --git a/src/duckstation-qt/mainwindow.h b/src/duckstation-qt/mainwindow.h index cc50ab07a..ebaa8a4ce 100644 --- a/src/duckstation-qt/mainwindow.h +++ b/src/duckstation-qt/mainwindow.h @@ -46,6 +46,7 @@ private Q_SLOTS: void onChangeDiscFromGameListActionTriggered(); void onGitHubRepositoryActionTriggered(); void onIssueTrackerActionTriggered(); + void onDiscordServerActionTriggered(); void onAboutActionTriggered(); void onGameListEntrySelected(const GameListEntry* entry); diff --git a/src/duckstation-qt/mainwindow.ui b/src/duckstation-qt/mainwindow.ui index 1d7b603c3..a8ff8c716 100644 --- a/src/duckstation-qt/mainwindow.ui +++ b/src/duckstation-qt/mainwindow.ui @@ -102,6 +102,7 @@ + @@ -314,6 +315,11 @@ &Issue Tracker... + + + &Discord Server... + + &About...