diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-03-21 13:16:05 +0100 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-04-20 10:45:10 +0200 |
commit | 2ee67a6709b9f829c5ec36b8f3e69d415f696cec (patch) | |
tree | 85844a2bb8d091dbbce5309680f0809f16ef48ed /src/qdoc/tokenizer.h | |
parent | 7b2aade5ca4798e180aca7daf9033351b37653e5 (diff) | |
download | qttools-2ee67a6709b9f829c5ec36b8f3e69d415f696cec.tar.gz |
Replace uses of deprecated _qs with _s
Task-number: QTBUG-101408
Change-Id: If6f25418bf3af66ad9bde2dba8bf529b8d202f83
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/qdoc/tokenizer.h')
-rw-r--r-- | src/qdoc/tokenizer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qdoc/tokenizer.h b/src/qdoc/tokenizer.h index a7b1728fb..2ba0e60cf 100644 --- a/src/qdoc/tokenizer.h +++ b/src/qdoc/tokenizer.h @@ -140,6 +140,8 @@ private: inline int getChar() { + using namespace Qt::StringLiterals; + if (m_ch == EOF) return EOF; if (m_lexLen < yyLexBufSize - 1) { @@ -147,8 +149,8 @@ private: m_lex[m_lexLen] = '\0'; } else if (!token_too_long_warning_was_issued) { location().warning( - u"The content is too long.\n"_qs, - u"The maximum amount of characters for this content is %1.\n"_qs.arg(yyLexBufSize) + + u"The content is too long.\n"_s, + u"The maximum amount of characters for this content is %1.\n"_s.arg(yyLexBufSize) + "Consider splitting it or reducing its size." ); |