mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
refs #709, as result of testing created special database views for ICAO codes
* view already filter incomplete data * as result, info object count values are aligned with data eventually parsed (which will allow to detect changes by comparing counts) * smaller adjustments to allow airlines with designator
This commit is contained in:
@@ -261,6 +261,7 @@ namespace BlackMisc
|
||||
QString CAircraftIcaoCode::getCombinedIcaoStringWithKey() const
|
||||
{
|
||||
QString s(getDesignator());
|
||||
if (s.isEmpty()) s = "????";
|
||||
if (hasManufacturer()) { s = s.append(" ").append(getManufacturer()); }
|
||||
if (hasModelDescription()) { s = s.append(" ").append(getModelDescription()); }
|
||||
return s.append(" ").append(getDbKeyAsStringInParentheses());
|
||||
|
||||
Reference in New Issue
Block a user