mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Add Discord Presence setting to Achievement Settings dialog
Setting is only enabled when Rich Presence is enabled. Toggling either Rich Presence or Discord Presence will immediately update the Discord status.
This commit is contained in:
@ -351,6 +351,9 @@ void GeneralPane::OnSaveConfig()
|
||||
|
||||
#ifdef USE_DISCORD_PRESENCE
|
||||
Discord::SetDiscordPresenceEnabled(m_checkbox_discord_presence->isChecked());
|
||||
#ifdef USE_RETRO_ACHIEVEMENTS
|
||||
emit Settings::Instance().ConfigChanged();
|
||||
#endif // USE_RETRO_ACHIEVEMENTS
|
||||
#endif
|
||||
|
||||
#if defined(USE_ANALYTICS) && USE_ANALYTICS
|
||||
|
Reference in New Issue
Block a user