mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 12:55:31 +08:00
Ref T77, prefix for getDbKeyAsStringInParentheses
This commit is contained in:
@@ -336,7 +336,7 @@ namespace BlackMisc
|
||||
if (s.isEmpty()) s = "????";
|
||||
if (hasManufacturer()) { s = s.append(" ").append(getManufacturer()); }
|
||||
if (hasModelDescription()) { s = s.append(" ").append(getModelDescription()); }
|
||||
return s.append(" ").append(getDbKeyAsStringInParentheses());
|
||||
return s.append(getDbKeyAsStringInParentheses(" "));
|
||||
}
|
||||
|
||||
QString CAircraftIcaoCode::getCombinedIataStringWithKey() const
|
||||
@@ -347,7 +347,7 @@ namespace BlackMisc
|
||||
if (hasDesignator()) { s.append(" ").append(getDesignator()); }
|
||||
if (hasManufacturer()) { s = s.append(" ").append(getManufacturer()); }
|
||||
if (hasModelDescription()) { s = s.append(" ").append(getModelDescription()); }
|
||||
return s.append(" ").append(getDbKeyAsStringInParentheses());
|
||||
return s.append(getDbKeyAsStringInParentheses(" "));
|
||||
}
|
||||
|
||||
QString CAircraftIcaoCode::getCombinedFamilyStringWithKey() const
|
||||
@@ -358,7 +358,7 @@ namespace BlackMisc
|
||||
if (hasDesignator()) { s.append(" ").append(getDesignator()); }
|
||||
if (hasManufacturer()) { s.append(" ").append(getManufacturer()); }
|
||||
if (hasModelDescription()) { s.append(" ").append(getModelDescription()); }
|
||||
return s.append(" ").append(getDbKeyAsStringInParentheses());
|
||||
return s.append(getDbKeyAsStringInParentheses(" "));
|
||||
}
|
||||
|
||||
bool CAircraftIcaoCode::hasCompleteData() const
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user