mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Formatting, minor tweaks
This commit is contained in:
@@ -72,14 +72,9 @@ namespace BlackMisc
|
||||
|
||||
QString CAircraftIcaoCode::getDesignatorDbKey() const
|
||||
{
|
||||
if (this->isLoadedFromDb())
|
||||
{
|
||||
return this->getDesignator() + " " + this->getDbKeyAsStringInParentheses();
|
||||
}
|
||||
else
|
||||
{
|
||||
return this->getDesignator();
|
||||
}
|
||||
return (this->isLoadedFromDb()) ?
|
||||
this->getDesignator() % QStringLiteral(" ") % this->getDbKeyAsStringInParentheses() :
|
||||
this->getDesignator();
|
||||
}
|
||||
|
||||
QString CAircraftIcaoCode::convertToQString(bool i18n) const
|
||||
|
||||
Reference in New Issue
Block a user