BUGFIX: Fix download first/last pieces state reporting

This commit is contained in:
Christophe Dumez
2012-02-21 19:53:13 +02:00
parent eda04b3ef3
commit 7679b852b8
2 changed files with 3 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
* unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.9.6
- BUGFIX: Fix download first/last pieces state reporting
* Sat Feb 18 2012 - Christophe Dumez <chris@qbittorrent.org> - v2.9.5
- BUGFIX: Fix crash when disabling then reenabling RSS
- BUGFIX: Fix duplicate torrent detection when adding a magnet link

View File

@@ -169,7 +169,6 @@ bool QTorrentHandle::first_last_piece_first() const {
if(misc::isPreviewable(ext) && torrent_handle::file_priority(index) > 0) {
break;
}
++index;
}
if(index >= torrent_handle::get_torrent_info().num_files()) return false;
file_entry media_file = torrent_handle::get_torrent_info().file_at(index);