DolphinQt/Settings/GeneralPane: Don't emit a ConfigChanged signal while saving config

Doing this causes the settings to be reloaded before they're done saving, effectively discarding the user's changes.
This commit is contained in:
Admiral H. Curtiss 2024-05-18 15:44:00 +02:00
parent fd3867ac5b
commit 626369fc00
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
1 changed files with 0 additions and 3 deletions

View File

@ -351,9 +351,6 @@ void GeneralPane::OnSaveConfig()
#ifdef USE_DISCORD_PRESENCE #ifdef USE_DISCORD_PRESENCE
Discord::SetDiscordPresenceEnabled(m_checkbox_discord_presence->isChecked()); Discord::SetDiscordPresenceEnabled(m_checkbox_discord_presence->isChecked());
#ifdef USE_RETRO_ACHIEVEMENTS
emit Settings::Instance().ConfigChanged();
#endif // USE_RETRO_ACHIEVEMENTS
#endif #endif
#if defined(USE_ANALYTICS) && USE_ANALYTICS #if defined(USE_ANALYTICS) && USE_ANALYTICS