mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals.
This commit is contained in:
@@ -46,7 +46,7 @@ namespace BlackMisc
|
||||
if (m_location.isEmpty()) { return this->getDescriptiveName(); }
|
||||
if (m_descriptiveName.isEmpty()) { return this->getLocation(); }
|
||||
if (this->getDescriptiveName() == this->getLocation()) { return this->getLocation(); }
|
||||
return this->getLocation() % QStringLiteral(" (") % this->getDescriptiveName() % QStringLiteral(")");
|
||||
return this->getLocation() % u" (" % this->getDescriptiveName() % u')';
|
||||
}
|
||||
|
||||
bool CAirport::matchesLocation(const QString &location) const
|
||||
|
||||
Reference in New Issue
Block a user