| 71 | } |
| 72 | |
| 73 | void SettingDataString::Copy(const SettingData* data) { |
| 74 | if (data->type != this->type) return; |
| 75 | |
| 76 | const SettingDataString* setting_data = static_cast<const SettingDataString*>(data); |
| 77 | this->value = setting_data->value; |
| 78 | } |
| 79 | |
| 80 | bool SettingDataString::Load(const QJsonObject& json_setting) { |
| 81 | this->value = ReadStringValue(json_setting, "value"); |
nothing calls this directly
no outgoing calls
no test coverage detected