summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstring.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2024-12-29 15:17:37 -0300
committerThiago Macieira <thiago.macieira@intel.com>2025-01-13 09:04:21 -0600
commit24b5cea95c710cb741963e14972ae8d612267ef6 (patch)
treedc024f7a98fcec7f945eb7597705a50feb7891f3 /src/corelib/text/qstring.cpp
parent2d40e30e3480726310ab15dac94872c59ee4714c (diff)
Bootstrap: remove the QDebug streaming class
And fix some compilation bugs if QT_NO_DEBUG_STREAM is defined. Drive-by fix the grammar in the qcommandlineparser.cpp qWarning(). Change-Id: Ia9287ea189ae4a4b7545fffdbff7dbb9196de519 Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Diffstat (limited to 'src/corelib/text/qstring.cpp')
-rw-r--r--src/corelib/text/qstring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/text/qstring.cpp b/src/corelib/text/qstring.cpp
index 99958f69821..14accbb7041 100644
--- a/src/corelib/text/qstring.cpp
+++ b/src/corelib/text/qstring.cpp
@@ -8822,7 +8822,7 @@ QString QString::arg_impl(qlonglong a, int fieldWidth, int base, QChar fillChar)
ArgEscapeData d = findArgEscapes(*this);
if (d.occurrences == 0) {
- qWarning() << "QString::arg: Argument missing:" << *this << ',' << a;
+ qWarning("QString::arg: Argument missing: \"%ls\", %llu", qUtf16Printable(*this), a);
return *this;
}
@@ -8854,7 +8854,7 @@ QString QString::arg_impl(qulonglong a, int fieldWidth, int base, QChar fillChar
ArgEscapeData d = findArgEscapes(*this);
if (d.occurrences == 0) {
- qWarning() << "QString::arg: Argument missing:" << *this << ',' << a;
+ qWarning("QString::arg: Argument missing: \"%ls\", %lld", qUtf16Printable(*this), a);
return *this;
}