From the Qt Doc:
Warning: done and total are not necessarily the size in bytes, since for large files these values might need to be "scaled" to avoid overflow.
See also dataReadProgress(), post(), request(), and QProgressBar.
So in case done is (for example) in Bytes (say 10 B) and total in kBytes (say 7 kB) then total < done and therefore the progressBar goes to 100%
penguinpower
2010-04-03 08:22:07