| 92 | } |
| 93 | |
| 94 | void SettingDataFloat::Copy(const SettingData* data) { |
| 95 | if (data->type != this->type) return; |
| 96 | |
| 97 | const SettingDataFloat* setting_data = static_cast<const SettingDataFloat*>(data); |
| 98 | this->value = setting_data->value; |
| 99 | } |
| 100 | |
| 101 | bool SettingDataFloat::Load(const QJsonObject& json_setting) { |
| 102 | this->value = ReadFloatValue(json_setting, "value"); |
nothing calls this directly
no outgoing calls
no test coverage detected