mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
When calling arg() on a QString constructed from a literal, use QStringLiteral.
This commit is contained in:
@@ -267,9 +267,8 @@ namespace BlackGui
|
||||
ui->pb_SaveAsSetForSimulator->setEnabled(canSave);
|
||||
if (canSave)
|
||||
{
|
||||
static const QString ss("save %1");
|
||||
this->setSaveFileName(this->getModelSetSimulator());
|
||||
ui->pb_SaveAsSetForSimulator->setText(ss.arg(this->getModelSetSimulator().toQString(true)));
|
||||
ui->pb_SaveAsSetForSimulator->setText(QStringLiteral("save %1").arg(this->getModelSetSimulator().toQString(true)));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user