mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
Flight plan fixes based on https://discordapp.com/channels/539048679160676382/539486309882789888/597133111272275970
* improved setting of combox value, fixed wrong text * do NOT emit signals when same index * getOwnCallsign * do NOT used cache FPs for own aircraft
This commit is contained in:
committed by
Mat Sutcliffe
parent
891a058f17
commit
ea7b3316c9
@@ -109,6 +109,12 @@ namespace BlackCore
|
||||
return m_ownAircraft.getTransponder();
|
||||
}
|
||||
|
||||
CCallsign CContextOwnAircraft::getOwnCallsign() const
|
||||
{
|
||||
QReadLocker l(&m_lockAircraft);
|
||||
return m_ownAircraft.getCallsign();
|
||||
}
|
||||
|
||||
CCoordinateGeodetic CContextOwnAircraft::getOwnAircraftPosition() const
|
||||
{
|
||||
QReadLocker l(&m_lockAircraft);
|
||||
|
||||
@@ -81,6 +81,10 @@ namespace BlackCore
|
||||
virtual ~CContextOwnAircraft() override;
|
||||
|
||||
// IOwnAircraftProvider overrides
|
||||
//! \copydoc BlackMisc::Simulation::IOwnAircraftProvider::getOwnCallsign
|
||||
//! \ingroup ownaircraftprovider
|
||||
virtual BlackMisc::Aviation::CCallsign getOwnCallsign() const override;
|
||||
|
||||
//! \copydoc BlackMisc::Simulation::IOwnAircraftProvider::getOwnAircraftPosition
|
||||
//! \ingroup ownaircraftprovider
|
||||
virtual BlackMisc::Geo::CCoordinateGeodetic getOwnAircraftPosition() const override;
|
||||
|
||||
Reference in New Issue
Block a user