From 96b3382ec7879c577b4bc2a4881221154cccc3ce Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Mon, 31 Oct 2022 15:21:44 +0100 Subject: 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. Change-Id: If7b98f1ae9ae8144c421a048c8a35be8474558c7 Reviewed-by: Tor Arne Vestbø (cherry picked from commit eb5f33c7a18f93002f64948a1c78b32fc678a5af) Reviewed-by: Qt Cherry-pick Bot --- 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 157cbdb5fb..5c2186a78c 100644 --- a/src/corelib/text/qstring.cpp +++ b/src/corelib/text/qstring.cpp @@ -3039,6 +3039,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 -- cgit v1.2.1