mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals.
This commit is contained in:
@@ -108,13 +108,13 @@ namespace BlackGui
|
||||
QString i(aircraft.getCallsign().toQString());
|
||||
if (aircraft.hasAircraftDesignator())
|
||||
{
|
||||
i += QStringLiteral(" (") %
|
||||
i += u" (" %
|
||||
aircraft.getAircraftIcaoCode().toQString(false) %
|
||||
QStringLiteral(")");
|
||||
u')';
|
||||
}
|
||||
if (aircraft.hasRealName())
|
||||
{
|
||||
i += QStringLiteral(" - ") % aircraft.getPilotRealName();
|
||||
i += u" - " % aircraft.getPilotRealName();
|
||||
}
|
||||
if (m_showPartsEnabled)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user