refs #748, fixed airport JSON bugs and removed workaround

* removed workaround in web data services
* removed convertFromDatabaseJson functions, not needed
* changed to use the correct static fromDatabaseJson functions
* fixed prefixes
* load correct Country object by loading it as nested object
* key and timestamp was missing in CAirport tuple metadata
This commit is contained in:
Klaus Basan
2016-10-18 04:35:24 +02:00
parent 34d74904ff
commit b8d323226f
8 changed files with 39 additions and 73 deletions

View File

@@ -55,8 +55,8 @@ namespace BlackMisc
//! All ICAO codes
QStringList allIcaoCodes(bool sorted) const;
//! Reads the airport list from database JSON
void convertFromDatabaseJson(const QJsonArray& json);
//! From our DB JSON
static CAirportList fromDatabaseJson(const QJsonArray &array);
};
} //namespace
} // namespace