Fix loading so that it works with QtWebkit 2.2
authorPierre Rossi <pierre.rossi@gmail.com>
Mon, 4 Jul 2011 14:11:10 +0000 (16:11 +0200)
committerPierre Rossi <pierre.rossi@gmail.com>
Thu, 21 Jul 2011 17:50:23 +0000 (19:50 +0200)
commit5be45ff79fa65b7a58aa6911723764db34172d28
tree110cccfacd1d02c4511b19f4d68d8a3e28f594e9
parent3ab71ddf148aaaf3277268815b82601a3f6f06e6
Fix loading so that it works with  QtWebkit 2.2

The problem was that in QtWebKit 2.2 the mime type sniffer
calls bytesAvailableFirst. The data is read and cached in QIODevice
and so we really need to call the parent implementation, as the
docs tell us to.
src/newtabpage/rekonqreply.cpp