mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 10:55:32 +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
Roland Rossgotterer
parent
95abfc50c0
commit
7689a9d900
@@ -185,7 +185,7 @@ namespace BlackMisc
|
|||||||
{
|
{
|
||||||
// nothing found so far
|
// nothing found so far
|
||||||
codesFound = this->findByNamesOrTelephonyDesignator(patternUsed.getName());
|
codesFound = this->findByNamesOrTelephonyDesignator(patternUsed.getName());
|
||||||
codesFound = this->ifPossibleReduceByTelephonyDesignator(patternUsed.getTelephonyDesignator());
|
codesFound = codesFound.ifPossibleReduceByTelephonyDesignator(patternUsed.getTelephonyDesignator());
|
||||||
codesFound = codesFound.ifPossibleReduceByCountry(patternUsed.getCountryIso());
|
codesFound = codesFound.ifPossibleReduceByCountry(patternUsed.getCountryIso());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -68,9 +68,9 @@ namespace BlackMisc
|
|||||||
const QString s =
|
const QString s =
|
||||||
(this->hasAnyModelString() ? inApostrophes(this->getAllModelStringsAliasesAndDbKey(), true) % QStringLiteral(" ") : QString()) %
|
(this->hasAnyModelString() ? inApostrophes(this->getAllModelStringsAliasesAndDbKey(), true) % QStringLiteral(" ") : QString()) %
|
||||||
u" type: '" % this->getModelTypeAsString() %
|
u" type: '" % this->getModelTypeAsString() %
|
||||||
u"' ICAO: '" % this->getAircraftIcaoCode().toQString(i18n) %
|
u"' ICAO: {" % this->getAircraftIcaoCode().toQString(i18n) %
|
||||||
u" CG: " % this->getCG().valueRoundedWithUnit(1) %
|
u"} CG: " % this->getCG().valueRoundedWithUnit(1) %
|
||||||
u"' {" % m_livery.toQString(i18n) %
|
u"' livery: {" % m_livery.toQString(i18n) %
|
||||||
u"} file: '" % m_fileName % u'\'';
|
u"} file: '" % m_fileName % u'\'';
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user