mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
When calling arg() on a QString constructed from a literal, use QStringLiteral.
This commit is contained in:
@@ -22,7 +22,7 @@ namespace BlackGui
|
||||
QString CTransponderCodeSpinBox::textFromValue(int value) const
|
||||
{
|
||||
/* 4 - number of digits, 10 - base of number, '0' - pad character*/
|
||||
return QString("%1").arg(value, 4 , 10, QChar('0'));
|
||||
return QStringLiteral("%1").arg(value, 4 , 10, QChar('0'));
|
||||
}
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user