mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
refs #314, renamed convertFromQVariant, convertFromJson
discussion: https://dev.vatsim-germany.org/issues/314#note-19
This commit is contained in:
@@ -142,7 +142,7 @@ namespace BlackMisc
|
||||
{
|
||||
if (index.isMyself())
|
||||
{
|
||||
this->fromQVariant(variant);
|
||||
this->convertFromQVariant(variant);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -201,7 +201,7 @@ namespace BlackMisc
|
||||
/*
|
||||
* From Json
|
||||
*/
|
||||
void CServer::fromJson(const QJsonObject &json)
|
||||
void CServer::convertFromJson(const QJsonObject &json)
|
||||
{
|
||||
BlackMisc::deserializeJson(json, CServer::jsonMembers(), TupleConverter<CServer>::toTuple(*this));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user