summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text/qstring.cpp')
-rw-r--r--src/corelib/text/qstring.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/text/qstring.cpp b/src/corelib/text/qstring.cpp
index c690be9873b..f596619dfd7 100644
--- a/src/corelib/text/qstring.cpp
+++ b/src/corelib/text/qstring.cpp
@@ -6413,10 +6413,9 @@ QString& QString::fill(QChar ch, qsizetype size)
/*!
\fn qsizetype QString::max_size()
+ \fn qsizetype QString::maxSize()
\since 6.8
- This function is provided for STL compatibility.
-
It returns the maximum number of elements that the string can
theoretically hold. In practice, the number can be much smaller,
limited by the amount of memory available to the system.