mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 10:45:37 +08:00
When calling arg() on a QString constructed from a literal, use QStringLiteral.
This commit is contained in:
@@ -23,8 +23,7 @@ namespace BlackMisc
|
||||
QString CVoiceSetup::convertToQString(bool i18n) const
|
||||
{
|
||||
Q_UNUSED(i18n);
|
||||
static const QString s("Port: %1");
|
||||
return s.arg(getVatsimUdpVoicePort());
|
||||
return QStringLiteral("Port: %1").arg(getVatsimUdpVoicePort());
|
||||
}
|
||||
|
||||
CStatusMessageList CVoiceSetup::validate() const
|
||||
|
||||
Reference in New Issue
Block a user