summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstring.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-01-06 12:27:40 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2021-01-08 12:41:06 +0100
commit4724d017ef2ff84e71fac3d0d04bd25373140c09 (patch)
tree6ea33244bd072f1ca193740baac63d21a2159053 /src/corelib/text/qstring.cpp
parentc9c598d4d76b703f84ace9d2d06b099e8bcf2b07 (diff)
Minor tidy-up: two sizetype fixes, two \nullptr uses
Change-Id: I6c4a1296350ecaf9a661dba22670fbb2ad23bd77 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
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 85ee6710a0..da212ac291 100644
--- a/src/corelib/text/qstring.cpp
+++ b/src/corelib/text/qstring.cpp
@@ -5432,7 +5432,7 @@ QString QString::fromUcs4(const char32_t *unicode, qsizetype size)
Resizes the string to \a size characters and copies \a unicode
into the string.
- If \a unicode is 0, nothing is copied, but the string is still
+ If \a unicode is \nullptr, nothing is copied, but the string is still
resized to \a size.
\sa unicode(), setUtf16()
@@ -5451,7 +5451,7 @@ QString& QString::setUnicode(const QChar *unicode, qsizetype size)
Resizes the string to \a size characters and copies \a unicode
into the string.
- If \a unicode is 0, nothing is copied, but the string is still
+ If \a unicode is \nullptr, nothing is copied, but the string is still
resized to \a size.
Note that unlike fromUtf16(), this function does not consider BOMs and