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;
|
break;
|
||||||
case MemberType::TimeBaseType:
|
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 (QString(inner_obj_name) == QString("tbase_type")) {
|
||||||
if (k->value.IsInt()) {
|
if (k->value.IsInt()) {
|
||||||
int timeBase = k->value.GetInt();
|
int timeBase = k->value.GetInt();
|
||||||
|
Loading…
Reference in New Issue
Block a user