summaryrefslogtreecommitdiff
path: root/src/qdoc/tokenizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qdoc/tokenizer.h')
-rw-r--r--src/qdoc/tokenizer.h6
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."
);