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