When calling arg() on a QString constructed from a literal, use QStringLiteral.

This commit is contained in:
Mat Sutcliffe
2018-12-20 21:32:39 +00:00
parent ace7650ebe
commit 6c05c5249d
99 changed files with 227 additions and 291 deletions

View File

@@ -145,7 +145,7 @@ namespace BlackGui
if (!conflicts.isEmpty())
{
QString message = QString("The selected combination conflicts with the following %1 combination(s):\n\n").arg(conflicts.size());
QString message = QStringLiteral("The selected combination conflicts with the following %1 combination(s):\n\n").arg(conflicts.size());
for (const CActionHotkey &conflict : conflicts)
{
message += conflict.toQString();