Fix bytesToWrite()
We should not add the size of the internal write buffer here because
QIODevice::bytesToWrite() already checks it. Also, take into account
the size of 'writeChunkBuffer' on Windows.
Change-Id: I87dfcb4dd1cd9d2bbb6f82a084d79fb4db9323d8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
| commit | e5dfb098638628b0215e11791bce372a656af390 |
| parent | d320f01018f0273e4fea2e0a7aa8f30ee8129587 |
| author | Alex Trotsenko <alex1973tr@gmail.com> |
| committer | Alex Trotsenko <alex1973tr@gmail.com> |
| commit time | Sat, 22 Apr 2017 16:05:46 +0000 |