Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals.

This commit is contained in:
Mat Sutcliffe
2018-12-20 19:26:39 +00:00
parent 5443701e09
commit ace7650ebe
67 changed files with 394 additions and 398 deletions

View File

@@ -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