| 61 | void SettingDataBool::Reset() { this->value = this->meta->default_value; } |
| 62 | |
| 63 | void SettingDataBool::Copy(const SettingData* data) { |
| 64 | if (data->type != this->type) return; |
| 65 | |
| 66 | const SettingDataBool* setting_data = static_cast<const SettingDataBool*>(data); |
| 67 | this->value = setting_data->value; |
| 68 | } |
| 69 | |
| 70 | bool SettingDataBool::Load(const QJsonObject& json_setting) { |
| 71 | this->value = ReadBoolValue(json_setting, "value"); |
nothing calls this directly
no outgoing calls
no test coverage detected