- BUGFIX: Fixed progress column delayed sorting (after torrent finished checking)

This commit is contained in:
Christophe Dumez 2007-08-07 23:15:46 +00:00
parent f9c357b52d
commit 8b26b7fd48
3 changed files with 10 additions and 3 deletions

1
TODO
View file

@ -69,6 +69,7 @@ LANGUAGES UPDATED:
beta4->beta5 changelog:
- BUGFIX: Wait for torrent_paused_alert before saving fast resume data
- BUGFIX: Fixed progress column delayed sorting (after torrent finished checking)
- BUGFIX: Finished torrents were still displayed as checking when paused by libtorrent on full disk (hit an assert)
- I18N: Updated Italian translation
- COSMETIC: Changed the way progress bars are rendered

View file

@ -185,6 +185,11 @@ void FinishedTorrents::updateFinishedList(){
continue;
}
}
if(BTSession->getUncheckedTorrentsList().indexOf(hash) != -1){
if(torrentStatus.state != torrent_status::checking_files && torrentStatus.state != torrent_status::queued_for_checking){
BTSession->setTorrentFinishedChecking(hash);
}
}
if(h.is_paused()) continue;
if(torrentStatus.state == torrent_status::downloading || (torrentStatus.state != torrent_status::checking_files && torrentStatus.state != torrent_status::queued_for_checking && torrentStatus.progress != 1.)) {
// What are you doing here? go back to download tab!

View file

@ -79,14 +79,15 @@ bittorrent::bittorrent(){
bittorrent::~bittorrent(){
// Disable directory scanning
disableDirectoryScanning();
// Do some saving
saveDHTEntry();
saveFastResumeAndRatioData();
// Delete our objects
delete deleter;
delete timerAlerts;
delete ETARefresher;
delete downloader;
// Do some saving
saveDHTEntry();
saveFastResumeAndRatioData();
// Delete BT session
delete s;
}