From eb5f33c7a18f93002f64948a1c78b32fc678a5af Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Mon, 31 Oct 2022 15:21:44 +0100 Subject: [PATCH] Restore lost documentation for QString::append(QStringView) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lost in commit 2766322de37adba37e0d0d4b0054e55edff01c6c (at 6.0) as it was buried in the midst of a lot of QStringRef documentation. This commit restores the documentation originally added in commit 3238445b270d5fb98f4008cb10a8adcc2d35165c, but locates it among the other QString::append() overloads and adds a \overload directive. Pick-to: 6.4 6.2 Change-Id: If7b98f1ae9ae8144c421a048c8a35be8474558c7 Reviewed-by: Tor Arne Vestbø --- src/corelib/text/qstring.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/corelib/text/qstring.cpp b/src/corelib/text/qstring.cpp index 3f0d8db42e..43b64f399e 100644 --- a/src/corelib/text/qstring.cpp +++ b/src/corelib/text/qstring.cpp @@ -3103,6 +3103,14 @@ QString &QString::append(const QString &str) return *this; } +/*! + \fn QString &QString::append(QStringView v) + \overload append() + \since 6.0 + + Appends the given string view \a v to this string and returns the result. +*/ + /*! \overload append() \since 5.0