From 1c3d2caaa13efe334cf2204adb7f4f78cbeba1de Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Thu, 27 Jun 2024 12:26:07 +0200 Subject: Doc: Minor addition to QFile::fileName documentation The file name can also change by calls to rename(). Specify this method also in the docs for fileName(), and add a see also link. Fixes: QTBUG-126568 Change-Id: I2c422ed883427147b175f1df11fb8c006edc11b4 Reviewed-by: Safiyyah Moosa Reviewed-by: Andreas Eliasson --- src/corelib/io/qfile.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/corelib/io/qfile.cpp') diff --git a/src/corelib/io/qfile.cpp b/src/corelib/io/qfile.cpp index 1ca5eea01e2..73b90d2544d 100644 --- a/src/corelib/io/qfile.cpp +++ b/src/corelib/io/qfile.cpp @@ -269,10 +269,10 @@ QFile::~QFile() } /*! - Returns the name set by setFileName() or to the QFile - constructors. + Returns the name of the file as set by setFileName(), rename(), or + by the QFile constructors. - \sa setFileName(), QFileInfo::fileName() + \sa setFileName(), rename(), QFileInfo::fileName() */ QString QFile::fileName() const { -- cgit v1.2.3