mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
refs #314, renamed convertFromQVariant, convertFromJson
discussion: https://dev.vatsim-germany.org/issues/314#note-19
This commit is contained in:
@@ -155,9 +155,9 @@ namespace BlackMisc
|
||||
/*
|
||||
* To JSON
|
||||
*/
|
||||
void CAltitude::fromJson(const QJsonObject &json)
|
||||
void CAltitude::convertFromJson(const QJsonObject &json)
|
||||
{
|
||||
CLength::fromJson(json);
|
||||
CLength::convertFromJson(json);
|
||||
BlackMisc::deserializeJson(json, CAltitude::jsonMembers(), TupleConverter<CAltitude>::toTuple(*this));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user