mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Ref T310, utility functions for statistics (incl.renaming)
This commit is contained in:
@@ -302,10 +302,9 @@ namespace BlackMisc
|
||||
|
||||
QString CAirlineIcaoCode::getCombinedStringWithKey() const
|
||||
{
|
||||
QString s(getVDesignator());
|
||||
if (s.isEmpty()) s = "????";
|
||||
if (hasName()) { s = s.append(" ").append(getName()); }
|
||||
return s.append(this->getDbKeyAsStringInParentheses(" "));
|
||||
return (this->hasValidDesignator() ? this->getVDesignator() : QStringLiteral("")) %
|
||||
(this->hasName() ? QStringLiteral(" ") % m_name : QStringLiteral("")) %
|
||||
this->getDbKeyAsStringInParentheses(" ");
|
||||
}
|
||||
|
||||
CAirlineIcaoCode CAirlineIcaoCode::thisOrCallsignCode(const CCallsign &callsign) const
|
||||
|
||||
Reference in New Issue
Block a user