summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eliasson <andreas.eliasson@qt.io>2024-05-06 12:23:58 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-05-23 12:14:05 +0000
commit16d95b95a09eba990954f0bdd7c81bd1c5a20fa2 (patch)
treefad5507592917549894102cf712897306cc430a3
parentDocs: Correct Android ABI string in build documentation (diff)
downloadqtbase-16d95b95a09eba990954f0bdd7c81bd1c5a20fa2.tar.xz
qtbase-16d95b95a09eba990954f0bdd7c81bd1c5a20fa2.zip
Doc: Document function argument
The current docs describes the function name, when, in fact, it should refer to the argument. Fixes: QTBUG-123838 Change-Id: I36e3bdff66712b8f35ac19859acb65e6fdcdf355 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 71bc951870906abbe656d9c2f08c42c3bf35c554) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/corelib/io/qfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qfile.cpp b/src/corelib/io/qfile.cpp
index 7b3c0a9055..962ce14b6b 100644
--- a/src/corelib/io/qfile.cpp
+++ b/src/corelib/io/qfile.cpp
@@ -510,7 +510,7 @@ QFile::moveToTrash()
\since 5.15
\overload
- Moves the file specified by fileName() to the trash. Returns \c true if successful,
+ Moves the file specified by \a fileName to the trash. Returns \c true if successful,
and sets \a pathInTrash (if provided) to the path at which the file can be found within
the trash; otherwise returns \c false.