mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
Ref T129, extended flight plan utils
* renamed to CFlightPlanUtils::FlightPlanRemarks * now parsing also SELCAL, airline ICAO
This commit is contained in:
committed by
Mathew Sutcliffe
parent
21f80ca2e3
commit
784cf287f0
@@ -923,8 +923,8 @@ namespace BlackCore
|
||||
CAirlineIcaoCode airlineIcao(airlineIcaoString);
|
||||
if (!fpRemarks.isEmpty())
|
||||
{
|
||||
const CFlightPlanUtils::AirlineRemarks ar = CFlightPlanUtils::parseFlightPlanAirlineRemarks(fpRemarks);
|
||||
if (ar.hasAnyRemarks())
|
||||
const CFlightPlanUtils::FlightPlanRemarks ar = CFlightPlanUtils::parseFlightPlanRemarks(fpRemarks);
|
||||
if (ar.hasAirlineRemarks())
|
||||
{
|
||||
const QString airlineName = CAircraftMatcher::reverseLookupAirlineName(ar.flightOperator, callsign, log);
|
||||
if (!airlineName.isEmpty())
|
||||
|
||||
Reference in New Issue
Block a user