mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
When calling arg() on a QString constructed from a literal, use QStringLiteral.
This commit is contained in:
@@ -466,8 +466,7 @@ namespace BlackMisc
|
||||
if (!icaoNw.hasDesignator()) { return QStringLiteral("[x] no nw."); }
|
||||
if (icao.isDbEqual(icaoNw) || icao == icaoNw) { return u"[==] " % icao.getDesignatorDbKey(); }
|
||||
if (icao.getDesignator() == icaoNw.getDesignator()) { return u"[=] " % icao.getDesignator(); }
|
||||
static const QString diff("%1 -> %2");
|
||||
return diff.arg(icaoNw.getDesignator(), icao.getDesignator());
|
||||
return QStringLiteral("%1 -> %2").arg(icaoNw.getDesignator(), icao.getDesignator());
|
||||
}
|
||||
|
||||
QString CSimulatedAircraft::getNetworkModelAirlineIcaoDifference() const
|
||||
|
||||
Reference in New Issue
Block a user