summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index fc186dc2d..788dd9b34 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1565,7 +1565,7 @@ void GMainWindow::UpdateUITheme() {
1565 emit UpdateThemedIcons(); 1565 emit UpdateThemedIcons();
1566} 1566}
1567 1567
1568void GMainWindow::SetDiscordEnabled(bool state) { 1568void GMainWindow::SetDiscordEnabled([[maybe_unused]] bool state) {
1569#ifdef USE_DISCORD_PRESENCE 1569#ifdef USE_DISCORD_PRESENCE
1570 if (state) { 1570 if (state) {
1571 discord_rpc = std::make_unique<DiscordRPC::DiscordImpl>(); 1571 discord_rpc = std::make_unique<DiscordRPC::DiscordImpl>();