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:
Klaus Basan
2016-07-18 01:46:28 +02:00
parent 31921f34ef
commit 90c3c35609
5 changed files with 16 additions and 6 deletions

View File

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