From 4c709fb3912ef65f83a5e604ffecc6a4a670a5cb Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 13 Sep 2013 11:22:08 +0200 Subject: [PATCH] Add a note on symlink behavior of QFile::exists Change-Id: I41ede0536f1b7093a7cde3d74a5e221df413aeea Reviewed-by: Konstantin Ritt Reviewed-by: Thiago Macieira --- src/corelib/io/qfile.cpp | 3 +++ 1 file changed, 3 insertions(+) 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