mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
refs #314, renamed convertFromQVariant, convertFromJson
discussion: https://dev.vatsim-germany.org/issues/314#note-19
This commit is contained in:
@@ -117,7 +117,7 @@ namespace BlackMisc
|
||||
{
|
||||
if (index.isMyself())
|
||||
{
|
||||
this->fromQVariant(variant);
|
||||
this->convertFromQVariant(variant);
|
||||
return;
|
||||
}
|
||||
ColumnIndex i = index.frontCasted<ColumnIndex>();
|
||||
@@ -163,7 +163,7 @@ namespace BlackMisc
|
||||
/*
|
||||
* From Json
|
||||
*/
|
||||
void CTestValueObject::fromJson(const QJsonObject &json)
|
||||
void CTestValueObject::convertFromJson(const QJsonObject &json)
|
||||
{
|
||||
BlackMisc::deserializeJson(json, CTestValueObject::jsonMembers(), TupleConverter<CTestValueObject>::toTuple(*this));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user