Ref T129, extended flight plan utils

* renamed to CFlightPlanUtils::FlightPlanRemarks
* now parsing also SELCAL, airline ICAO
This commit is contained in:
Klaus Basan
2017-10-01 04:01:28 +02:00
committed by Mathew Sutcliffe
parent 21f80ca2e3
commit 784cf287f0
4 changed files with 74 additions and 31 deletions

View File

@@ -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())