mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
refs #314, renamed convertFromQVariant, convertFromJson
discussion: https://dev.vatsim-germany.org/issues/314#note-19
This commit is contained in:
@@ -51,7 +51,7 @@ namespace BlackMisc
|
||||
/*
|
||||
* To JSON
|
||||
*/
|
||||
template <class AVIO> void CModulator<AVIO>::fromJson(const QJsonObject &json)
|
||||
template <class AVIO> void CModulator<AVIO>::convertFromJson(const QJsonObject &json)
|
||||
{
|
||||
BlackMisc::deserializeJson(json, CModulator::jsonMembers(), TupleConverter<CModulator>::toTuple(*this));
|
||||
}
|
||||
@@ -87,7 +87,7 @@ namespace BlackMisc
|
||||
{
|
||||
if (index.isMyself())
|
||||
{
|
||||
this->fromQVariant(variant);
|
||||
this->convertFromQVariant(variant);
|
||||
return;
|
||||
}
|
||||
ColumnIndex i = index.frontCasted<ColumnIndex>();
|
||||
|
||||
Reference in New Issue
Block a user