Merge pull request #7848 from jordan-woyak/config-change-callbacks

Common/Config: Add a utility class to defer config change callbacks.
This commit is contained in:
Mat M 2019-03-03 18:44:34 -05:00 committed by GitHub
commit 503b96c617
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 42 additions and 1 deletions

View file

@ -282,6 +282,8 @@ static QString UpdateTrackFromIndex(int index)
void GeneralPane::OnSaveConfig()
{
Config::ConfigChangeCallbackGuard config_guard;
auto& settings = SConfig::GetInstance();
if (AutoUpdateChecker::SystemSupportsAutoUpdates())
{