Extend handling of TimeRangeType.
This commit is contained in:
parent
7f8ed9165d
commit
7ce93ddd7a
@ -177,6 +177,11 @@ bool Configuration::ParseJson(Configuration* cfg, const char* json)
|
||||
}
|
||||
break;
|
||||
case MemberType::TimeBaseType:
|
||||
if (QString(inner_obj_name) == QString("tbase_id")) {
|
||||
if (k->value.IsInt()) {
|
||||
TimeBase.tbase_id = k->value.GetInt();
|
||||
}
|
||||
} else
|
||||
if (QString(inner_obj_name) == QString("tbase_type")) {
|
||||
if (k->value.IsInt()) {
|
||||
int timeBase = k->value.GetInt();
|
||||
|
Loading…
Reference in New Issue
Block a user