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>
This commit is contained in:
Andreas Eliasson 2024-05-06 12:23:58 +02:00 committed by Qt Cherry-pick Bot
parent 3b55a36f0a
commit 16d95b95a0

View File

@ -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.