MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / resetSetting

Method resetSetting

launcher/settings/INISettingsObject.cpp:98–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void INISettingsObject::resetSetting(const Setting& setting)
99{
100 // if we have the setting, remove all the synonyms. ALL OF THEM
101 if (contains(setting.id())) {
102 for (auto iter : setting.configKeys())
103 m_ini.remove(iter);
104 doSave();
105 }
106}
107
108QVariant INISettingsObject::retrieveValue(const Setting& setting)
109{

Callers

nothing calls this directly

Calls 3

configKeysMethod · 0.80
idMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected