mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
refs #314, renamed convertFromQVariant, convertFromJson
discussion: https://dev.vatsim-germany.org/issues/314#note-19
This commit is contained in:
@@ -209,7 +209,7 @@ namespace BlackMisc
|
||||
/*
|
||||
* From Json
|
||||
*/
|
||||
template <class ImplVector> void CVector3DBase<ImplVector>::fromJson(const QJsonObject &json)
|
||||
template <class ImplVector> void CVector3DBase<ImplVector>::convertFromJson(const QJsonObject &json)
|
||||
{
|
||||
QJsonArray jsonArray = json.value("vector").toArray();
|
||||
this->m_i = jsonArray.at(0).toDouble();
|
||||
@@ -235,7 +235,7 @@ namespace BlackMisc
|
||||
/*
|
||||
* From Json
|
||||
*/
|
||||
template <class ImplMatrix, int Rows, int Columns> void CMatrixBase<ImplMatrix, Rows, Columns>::fromJson(const QJsonObject &json)
|
||||
template <class ImplMatrix, int Rows, int Columns> void CMatrixBase<ImplMatrix, Rows, Columns>::convertFromJson(const QJsonObject &json)
|
||||
{
|
||||
QJsonArray jsonArray = json.value("matrix").toArray();
|
||||
QList<double> list;
|
||||
|
||||
Reference in New Issue
Block a user