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:
@@ -858,8 +858,8 @@ namespace BlackGui
|
||||
QString name("Flight plan");
|
||||
if (!ui->le_DestinationAirport->text().isEmpty() && !ui->le_OriginAirport->text().isEmpty())
|
||||
{
|
||||
name += QStringLiteral(" ") % ui->le_OriginAirport->text() %
|
||||
QStringLiteral("-") % ui->le_DestinationAirport->text();
|
||||
name += u' ' % ui->le_OriginAirport->text() %
|
||||
u'-' % ui->le_DestinationAirport->text();
|
||||
}
|
||||
|
||||
if (!name.endsWith(CFileUtils::jsonAppendix(), Qt::CaseInsensitive))
|
||||
|
||||
Reference in New Issue
Block a user