diff options
author | João Abecasis <joao@abecasis.name> | 2009-11-18 10:54:53 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-11-18 12:08:37 (GMT) |
commit | 0ff77fe68850ad6448f644c3ee11b3a7914bb8b7 (patch) | |
tree | 1d6393402acdfda2539c4a535b568457f73a2de7 /src | |
parent | 9f5dea393da4428685f1a1fd26b0e27f90dca340 (diff) | |
download | Qt-0ff77fe68850ad6448f644c3ee11b3a7914bb8b7.zip Qt-0ff77fe68850ad6448f644c3ee11b3a7914bb8b7.tar.gz Qt-0ff77fe68850ad6448f644c3ee11b3a7914bb8b7.tar.bz2 |
Fix regression introduced in 98a05681851db9d88b1364af52be543715fbe306
Some network tests were set up to ignore a qWarning that was removed.
Fixed those tests.
Made warning from QIODevice::getChar have the right function name.
Reviewed-by: Thiago Macieira
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/io/qiodevice.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/io/qiodevice.cpp b/src/corelib/io/qiodevice.cpp index e4e6a15..b84961f 100644 --- a/src/corelib/io/qiodevice.cpp +++ b/src/corelib/io/qiodevice.cpp @@ -1404,6 +1404,9 @@ bool QIODevicePrivate::putCharHelper(char c) */ bool QIODevice::getChar(char *c) { + Q_D(QIODevice); + CHECK_READABLE(getChar, false); + char ch; return (1 == read(c ? c : &ch, 1)); } |