summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@digia.com>2013-02-05 11:58:07 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-07 11:47:48 +0100
commit5221ae5f424f24000d877d2a4394e2d75a052cca (patch)
treedaca90730317dbb100562e93cc08f2a826aa4b99 /src
parent8200e49bbef6fe05b904908d6439e8aa2c645c45 (diff)
Update documentation for QIODevice::readData().
readData() might be called with a maxSize of 0, regardless of the device being buffered or not. Task-number: QTBUG-28968 Change-Id: I666ed4d601341107722c86fe217f617ef748363d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/io/qiodevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qiodevice.cpp b/src/corelib/io/qiodevice.cpp
index 4f3518aeb8..4df9c6b911 100644
--- a/src/corelib/io/qiodevice.cpp
+++ b/src/corelib/io/qiodevice.cpp
@@ -1640,8 +1640,8 @@ QString QIODevice::errorString() const
all the requested information was read and therefore does not retry reading
if there was a problem.
- This function will be called with maxSize 0 when the device is
- buffered and the buffer was emptied by a call to read().
+ This function might be called with a maxSize of 0, which can be used to
+ perform post-reading operations.
\sa read(), readLine(), writeData()
*/