Version: unspecified (using KDE 4.6.2)
When some of the files of the torrent exist, but aren't enabled for downloading, and instead other files are being downloaded, but are less in size than those already on disk.
When I enable for downloading the files already on disk, the available space is calculated correctly.
Reproducible: Didn't try
Steps to Reproduce:
1) Find a torrent with multiple files.
2) Download most of the torrent, but disable some files.
3) Delete the torrent.
4) Add it again, but enable only the files you didn't download first.
The available space after download counter is obviously wrong.
The results being right.
OS: Linux (x86_64) release 2.6.38-ARCH
Git commit 44f775d24bfc11764d3e8e310562412ec7821387 by Joris Guisson.
Committed on 25/04/2011 at 09:58.
Pushed by guisson into branch 'master'.
Fix wrong required diskspace calculation in some rare circumstances
M +1 -0 ChangeLog
M +10 -7 ktorrent/dialogs/fileselectdlg.cpp