mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Ref T104, return inconsistent airports
This commit is contained in:
committed by
Mathew Sutcliffe
parent
297c2f0539
commit
847fcfbb71
@@ -79,9 +79,10 @@ namespace BlackMisc
|
||||
return icaos;
|
||||
}
|
||||
|
||||
CAirportList CAirportList::fromDatabaseJson(const QJsonArray &array)
|
||||
CAirportList CAirportList::fromDatabaseJson(const QJsonArray &array, CAirportList *inconsistent)
|
||||
{
|
||||
CAirportList airports;
|
||||
Q_UNUSED(inconsistent); // not yet implemented, but signature already prepared
|
||||
for (const QJsonValue &value : array)
|
||||
{
|
||||
const CAirport airport(CAirport::fromDatabaseJson(value.toObject()));
|
||||
|
||||
Reference in New Issue
Block a user