From 71bc951870906abbe656d9c2f08c42c3bf35c554 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 Pick-to: 6.7 Change-Id: I36e3bdff66712b8f35ac19859acb65e6fdcdf355 Reviewed-by: Thiago Macieira --- 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 52188dde516..ea594470eae 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.