diff options
author | Martin Smith <msmith@trolltech.com> | 2010-02-23 10:38:23 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2010-02-23 10:38:23 (GMT) |
commit | 9629681e7b3d69456bd6c5905c267b3d08b6243f (patch) | |
tree | 1337e6f51ac7c0697fc1be6e5153144aaef093f6 /src/corelib/io | |
parent | 48a1b43743481a646ad0ebef116f249f891e4e10 (diff) | |
download | Qt-9629681e7b3d69456bd6c5905c267b3d08b6243f.zip Qt-9629681e7b3d69456bd6c5905c267b3d08b6243f.tar.gz Qt-9629681e7b3d69456bd6c5905c267b3d08b6243f.tar.bz2 |
doc: Corrected typo.
Task: QTBUG-8450
Diffstat (limited to 'src/corelib/io')
-rw-r--r-- | src/corelib/io/qiodevice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qiodevice.cpp b/src/corelib/io/qiodevice.cpp index 4e14ba8..662100a 100644 --- a/src/corelib/io/qiodevice.cpp +++ b/src/corelib/io/qiodevice.cpp @@ -1003,8 +1003,8 @@ QByteArray QIODevice::readAll() to a maximum of \a maxSize - 1 bytes, stores the characters in \a data, and returns the number of bytes read. If a line could not be read but no error ocurred, this function returns 0. If an error - occurs, this function returns what it could the length of what - could be read, or -1 if nothing was read. + occurs, this function returns the length of what could be read, or + -1 if nothing was read. A terminating '\0' byte is always appended to \a data, so \a maxSize must be larger than 1. |