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:
@@ -189,9 +189,8 @@ namespace BlackGui
|
||||
|
||||
void CInterpolationLogDisplay::onSliderChanged(int timeSecs)
|
||||
{
|
||||
static const QString time("%1secs");
|
||||
m_updateTimer.setInterval(timeSecs * 1000);
|
||||
ui->le_UpdateTime->setText(time.arg(timeSecs));
|
||||
ui->le_UpdateTime->setText(QStringLiteral("%1secs").arg(timeSecs));
|
||||
}
|
||||
|
||||
void CInterpolationLogDisplay::onCallsignEntered()
|
||||
|
||||
Reference in New Issue
Block a user