mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Fixed wrong airline in reverse lookup
* Air Arabia bug * see https://discordapp.com/channels/539048679160676382/568904623151382546/608611828578254859
This commit is contained in:
committed by
Mat Sutcliffe
parent
740cb5a536
commit
b213f594c7
@@ -185,7 +185,7 @@ namespace BlackMisc
|
||||
{
|
||||
// nothing found so far
|
||||
codesFound = this->findByNamesOrTelephonyDesignator(patternUsed.getName());
|
||||
codesFound = this->ifPossibleReduceByTelephonyDesignator(patternUsed.getTelephonyDesignator());
|
||||
codesFound = codesFound.ifPossibleReduceByTelephonyDesignator(patternUsed.getTelephonyDesignator());
|
||||
codesFound = codesFound.ifPossibleReduceByCountry(patternUsed.getCountryIso());
|
||||
}
|
||||
else
|
||||
|
||||
@@ -68,9 +68,9 @@ namespace BlackMisc
|
||||
const QString s =
|
||||
(this->hasAnyModelString() ? inApostrophes(this->getAllModelStringsAliasesAndDbKey(), true) % QStringLiteral(" ") : QString()) %
|
||||
u" type: '" % this->getModelTypeAsString() %
|
||||
u"' ICAO: '" % this->getAircraftIcaoCode().toQString(i18n) %
|
||||
u" CG: " % this->getCG().valueRoundedWithUnit(1) %
|
||||
u"' {" % m_livery.toQString(i18n) %
|
||||
u"' ICAO: {" % this->getAircraftIcaoCode().toQString(i18n) %
|
||||
u"} CG: " % this->getCG().valueRoundedWithUnit(1) %
|
||||
u"' livery: {" % m_livery.toQString(i18n) %
|
||||
u"} file: '" % m_fileName % u'\'';
|
||||
return s;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user