mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00: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:
parent
57c8ea12ed
commit
2328539a76
3 changed files with 29 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue