mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
refs #314, renamed convertFromQVariant, convertFromJson
discussion: https://dev.vatsim-germany.org/issues/314#note-19
This commit is contained in:
@@ -119,7 +119,7 @@ namespace BlackMisc
|
||||
/*
|
||||
* To JSON
|
||||
*/
|
||||
void CInformationMessage::fromJson(const QJsonObject &json)
|
||||
void CInformationMessage::convertFromJson(const QJsonObject &json)
|
||||
{
|
||||
this->m_message = json.value("m_message").toString();
|
||||
this->m_type = static_cast<CInformationMessage::InformationType>(qRound(json.value("m_type").toDouble()));
|
||||
|
||||
Reference in New Issue
Block a user