refs #768, fixed reverse lookup on login page (model changes in SIM are reflected here)

* use reverse lookup function
* complete model when web services have read the DB data (before that no reverse lookup is possible)
* use new model changed signature

Remark: Temp adjustement when signal allSwiftDbDataRead is sent. As soon #748 is ready needs to be changed to include airport entities
This commit is contained in:
Klaus Basan
2016-10-06 21:36:03 +02:00
committed by Mathew Sutcliffe
parent cda3ece82b
commit 74173a734e
6 changed files with 32 additions and 22 deletions

View File

@@ -100,6 +100,9 @@ namespace BlackGui
//! Reverse lookup model
void ps_reverseLookupModel();
//! Simulator model has been changed
void ps_simulatorModelChanged(const BlackMisc::Simulation::CAircraftModel &model);
private:
//! GUI aircraft values, formatted
struct CGuiAircraftValues
@@ -120,9 +123,6 @@ namespace BlackGui
QString vatsimHomeAirport;
};
//! GUI values from aircraft
void setGuiValuesFromAircraft(const BlackMisc::Simulation::CSimulatedAircraft &ownAircraft);
//! Load from settings
void loadRememberedVatsimData();