Fix possible memleak in CDatabaseWriter

* CApplication network methods cleanup
This commit is contained in:
Michał Garapich
2016-08-02 18:29:47 +02:00
parent 1032b2f506
commit 39dae7ed45
11 changed files with 69 additions and 97 deletions

View File

@@ -50,8 +50,9 @@ namespace BlackMisc
//! Find first station by callsign, if not return given value / default
CAirport findFirstByIcao(const CAirportIcaoCode &icao, const CAirport &ifNotFound = CAirport()) const;
//! Reads the airport list from JSON
static CAirportList fromDatabaseJson(const QJsonArray& json);
//! Reads the airport list from database JSON
void convertFromDatabaseJson(const QJsonArray& json);
};
} //namespace
} // namespace