From 165bc70bc39a5094a0f931d38066b1f5b585fee8 Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Mon, 14 Sep 2020 08:12:30 +0200 Subject: [PATCH] Doc: Remove outdated information Seems this information is obsolete, get rid of it. Fixes: QTBUG-86607 Pick-to: 5.15 Change-Id: I0250e32b3c312c7da0363dd1b0d7f676bbfa0115 Reviewed-by: Volker Hilsheimer --- src/corelib/io/qfile.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/corelib/io/qfile.cpp b/src/corelib/io/qfile.cpp index 90d6e30bd8a..22ba9a3631b 100644 --- a/src/corelib/io/qfile.cpp +++ b/src/corelib/io/qfile.cpp @@ -1010,11 +1010,6 @@ bool QFile::open(FILE *fh, OpenMode mode, FileHandleFlags handleFlags) then calling close() closes the adopted handle. Otherwise, close() does not actually close the file, but only flushes it. - The QFile that is opened using this function is automatically set - to be in raw mode; this means that the file input/output functions - are slow. If you run into performance issues, you should try to - use one of the other open functions. - \warning If \a fd is not a regular file, e.g, it is 0 (\c stdin), 1 (\c stdout), or 2 (\c stderr), you may not be able to seek(). In those cases, size() returns \c 0. See QIODevice::isSequential()