mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 19:35:32 +08:00
When calling arg() on a QString constructed from a literal, use QStringLiteral.
This commit is contained in:
@@ -103,7 +103,6 @@ namespace BlackGui
|
||||
|
||||
const QString CShortcut::toParenthesisString(const QKeySequence &sequence)
|
||||
{
|
||||
static const QString s("(%1)");
|
||||
return s.arg(sequence.toString());
|
||||
return QStringLiteral("(%1)").arg(sequence.toString());
|
||||
}
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user