Merge pull request #6733 from spycrab/rename_update_cfg_again
Core/ConfigManager: Rename Track to UpdateTrack
This commit is contained in:
commit
40cf07d8e7
|
@ -374,7 +374,7 @@ void SConfig::SaveAutoUpdateSettings(IniFile& ini)
|
|||
{
|
||||
IniFile::Section* section = ini.GetOrCreateSection("AutoUpdate");
|
||||
|
||||
section->Set("Track", m_auto_update_track);
|
||||
section->Set("UpdateTrack", m_auto_update_track);
|
||||
section->Set("HashOverride", m_auto_update_hash_override);
|
||||
}
|
||||
|
||||
|
@ -682,7 +682,7 @@ void SConfig::LoadAutoUpdateSettings(IniFile& ini)
|
|||
{
|
||||
IniFile::Section* section = ini.GetOrCreateSection("AutoUpdate");
|
||||
|
||||
section->Get("Track", &m_auto_update_track, SCM_UPDATE_TRACK_STR);
|
||||
section->Get("UpdateTrack", &m_auto_update_track, SCM_UPDATE_TRACK_STR);
|
||||
section->Get("HashOverride", &m_auto_update_hash_override, "");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue