mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
When calling arg() on a QString constructed from a literal, use QStringLiteral.
This commit is contained in:
@@ -78,7 +78,7 @@ namespace BlackMisc
|
||||
QString CJoystickButton::buttonIndexToString(qint32 buttonIndex)
|
||||
{
|
||||
QString buttonString("Button");
|
||||
return buttonString.append(QString("%1").arg(buttonIndex));
|
||||
return buttonString.append(QStringLiteral("%1").arg(buttonIndex));
|
||||
}
|
||||
|
||||
int CJoystickButton::buttonIndexFromString(const QString &buttonName)
|
||||
|
||||
Reference in New Issue
Block a user