From 16d95b95a09eba990954f0bdd7c81bd1c5a20fa2 Mon Sep 17 00:00:00 2001 From: Andreas Eliasson Date: Mon, 6 May 2024 12:23:58 +0200 Subject: [PATCH] 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 (cherry picked from commit 71bc951870906abbe656d9c2f08c42c3bf35c554) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/io/qfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/io/qfile.cpp b/src/corelib/io/qfile.cpp index 7b3c0a90557..962ce14b6ba 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.