summaryrefslogtreecommitdiff
path: root/src/corelib
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-02-23 11:38:23 +0100
committerMartin Smith <msmith@trolltech.com>2010-02-23 11:38:23 +0100
commit9629681e7b3d69456bd6c5905c267b3d08b6243f (patch)
tree1337e6f51ac7c0697fc1be6e5153144aaef093f6 /src/corelib
parent48a1b43743481a646ad0ebef116f249f891e4e10 (diff)
downloadqt4-tools-9629681e7b3d69456bd6c5905c267b3d08b6243f.tar.gz
doc: Corrected typo.
Task: QTBUG-8450
Diffstat (limited to 'src/corelib')
-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 4e14ba8774..662100a3f8 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.