Ref T77, prefix for getDbKeyAsStringInParentheses

This commit is contained in:
Klaus Basan
2017-05-08 02:57:02 +02:00
parent ba85e3851b
commit afbb87298f
7 changed files with 11 additions and 11 deletions

View File

@@ -62,7 +62,7 @@ namespace BlackMisc
{
if (this->isLoadedFromDb())
{
return this->getVDesignator() % QLatin1Char(' ') % this->getDbKeyAsStringInParentheses();
return this->getVDesignator() % this->getDbKeyAsStringInParentheses(" ");
}
else
{
@@ -350,7 +350,7 @@ namespace BlackMisc
QString s(getVDesignator());
if (s.isEmpty()) s = "????";
if (hasName()) { s = s.append(" ").append(getName()); }
return s.append(" ").append(getDbKeyAsStringInParentheses());
return s.append(getDbKeyAsStringInParentheses(" "));
}
CAirlineIcaoCode CAirlineIcaoCode::thisOrCallsignCode(const CCallsign &callsign) const