qlogging: replace QSL with QL1SV
Also while touching code, replace arg usage with QSB to prevent temp allocation Change-Id: I3573266dbee8a00ae917773c107b5df7774acb79 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
4660a230d5
commit
c22d393afd
@ -1350,8 +1350,7 @@ void QMessagePattern::setPattern(const QString &pattern)
|
||||
inIf = false;
|
||||
} else {
|
||||
tokens[i] = emptyTokenC;
|
||||
error += QStringLiteral("QT_MESSAGE_PATTERN: Unknown placeholder %1\n")
|
||||
.arg(lexeme);
|
||||
error += "QT_MESSAGE_PATTERN: Unknown placeholder "_L1 + lexeme + '\n'_L1;
|
||||
}
|
||||
} else {
|
||||
using UP = std::unique_ptr<char[]>;
|
||||
|
Loading…
Reference in New Issue
Block a user