diff options
author | hjk <hjk121@nokiamail.com> | 2013-09-13 11:22:08 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-13 19:37:14 +0200 |
commit | 4c709fb3912ef65f83a5e604ffecc6a4a670a5cb (patch) | |
tree | a7e70ce5ffe7462cd12300947ce34100a57aa316 /src/corelib/io/qfile.cpp | |
parent | aef44c7970457cc2b673429f8e632e4ac2ee3510 (diff) |
Add a note on symlink behavior of QFile::exists
Change-Id: I41ede0536f1b7093a7cde3d74a5e221df413aeea
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qfile.cpp')
-rw-r--r-- | src/corelib/io/qfile.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/io/qfile.cpp b/src/corelib/io/qfile.cpp index e46ba28f47..3af936122e 100644 --- a/src/corelib/io/qfile.cpp +++ b/src/corelib/io/qfile.cpp @@ -421,6 +421,9 @@ QFile::exists() const /*! Returns true if the file specified by \a fileName exists; otherwise returns false. + + \note If \a fileName is a symlink that points to a non-existing + file, false is returned. */ bool |