mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Ref T298, better ICAO family resolution
B737/DLH searched but B738/DLH present (same family but not same ICAO)
This commit is contained in:
@@ -141,6 +141,13 @@ namespace BlackMisc
|
||||
return getAircraftIcaoCode().getDesignator();
|
||||
}
|
||||
|
||||
QString CSimulatedAircraft::getAirlineAndAircraftIcaoCodeDesignators() const
|
||||
{
|
||||
if (this->hasAircraftAndAirlineDesignator()) { return this->getAircraftIcaoCodeDesignator() % QStringLiteral("/") % this->getAirlineIcaoCodeDesignator(); }
|
||||
if (this->hasAirlineDesignator()) { return this->getAirlineIcaoCodeDesignator(); }
|
||||
return this->getAircraftIcaoCodeDesignator();
|
||||
}
|
||||
|
||||
const QString &CSimulatedAircraft::getAircraftIcaoCombinedType() const
|
||||
{
|
||||
return getAircraftIcaoCode().getCombinedType();
|
||||
|
||||
Reference in New Issue
Block a user