mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
When calling arg() on a QString constructed from a literal, use QStringLiteral.
This commit is contained in:
@@ -430,8 +430,7 @@ namespace BlackGui
|
||||
}
|
||||
else
|
||||
{
|
||||
static const QString item("swift %1 (%2)");
|
||||
ui->cb_OtherVersions->addItem(item.arg(info.getVersionString(), info.getPlatform()));
|
||||
ui->cb_OtherVersions->addItem(QStringLiteral("swift %1 (%2)").arg(info.getVersionString(), info.getPlatform()));
|
||||
}
|
||||
m_otherVersionDirs.push_back(pair.first);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user