qt5base-lts/tests/auto/corelib
Thiago Macieira b4ce49287f Make QBuffer::bytesAvailable() work
We don't need to keep an internal QBuffer position, we can just use the
one from QIODevice::pos(). It will keep track of goings ahead and
backwards for us, plus it will make the default bytesAvailable() work
out-of-the-box too.

This error was reported on IRC.

Change-Id: I8559e8ee56edaa01ca8732c1f1012082ebe3a3f2
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
2013-04-16 19:45:11 +02:00
..
animation Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
codecs Correctly detect HTML 5 charset attribute in QTextCodec::codecForHtml() 2013-02-12 01:31:26 +01:00
global Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
io Make QBuffer::bytesAvailable() work 2013-04-16 19:45:11 +02:00
itemmodels Don't bypass overwritten [set]data() methods in the proxy. 2013-04-08 14:17:27 +02:00
json Add toJson() formatting argument to QJsonDocument interface 2013-01-26 03:09:27 +01:00
kernel tst_qtranslator: Remove QT_DISABLE_DEPRECATED_BEFORE=0 2013-04-12 07:20:05 +02:00
mimetypes QMimeDatabase: pass MatchMode down, to fix MatchContent. 2013-03-01 13:05:11 +01:00
plugin Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
statemachine Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
thread tst_qthread: fix race on "bool visited" 2013-03-29 15:16:47 +01:00
tools QDateTime - Fix auto tests on Windows before 1980 2013-04-12 11:46:01 +02:00
xml Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00