mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 06:25:33 +08:00
When calling arg() on a QString constructed from a literal, use QStringLiteral.
This commit is contained in:
@@ -48,8 +48,7 @@ namespace BlackGui
|
||||
QString CGeneralGuiSettings::convertToQString(bool i18n) const
|
||||
{
|
||||
Q_UNUSED(i18n);
|
||||
static const QString s("Widget style: %1");
|
||||
return s.arg(this->m_widgetStyle);
|
||||
return QStringLiteral("Widget style: %1").arg(this->m_widgetStyle);
|
||||
}
|
||||
|
||||
BlackMisc::CVariant CGeneralGuiSettings::propertyByIndex(const BlackMisc::CPropertyIndex &index) const
|
||||
|
||||
Reference in New Issue
Block a user