mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
When calling arg() on a QString constructed from a literal, use QStringLiteral.
This commit is contained in:
@@ -116,7 +116,7 @@ namespace BlackGui
|
||||
const QFont f = widget->font();
|
||||
return CStyleSheetUtility::asStylesheet(
|
||||
f.family(),
|
||||
QString("%1pt").arg(pointSize < 0 ? f.pointSize() : pointSize),
|
||||
QStringLiteral("%1pt").arg(pointSize < 0 ? f.pointSize() : pointSize),
|
||||
CStyleSheetUtility::fontStyleAsString(f),
|
||||
CStyleSheetUtility::fontWeightAsString(f)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user