mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals.
This commit is contained in:
@@ -246,7 +246,7 @@ namespace BlackGui
|
||||
const CMetar metar(sGui->getIContextNetwork()->getMetarForAirport(icao));
|
||||
if (metar.hasMessage())
|
||||
{
|
||||
const QString metarText = metar.getMessage() % QStringLiteral("\n\n") % metar.getMetarText();
|
||||
const QString metarText = metar.getMessage() % u"\n\n" % metar.getMetarText();
|
||||
ui->te_AtcStationsOnlineInfo->setText(metarText);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user