- BUGFIX: Now filtered don't appear on hard drive anymore (libtorrent >= r1659 REQUIRED)

- BUGFIX: AddInPause setting doesn't pause downloads on startup anymore
This commit is contained in:
Christophe Dumez 2007-10-10 17:34:52 +00:00
parent 4c862597ae
commit a26333bc65
6 changed files with 45 additions and 47 deletions

View file

@ -693,12 +693,8 @@ bool properties::savePiecesPriorities() {
}
pieces_file.close();
delete[] priorities;
// If h.has_filtered_pieces() s true, then the torrent
// is already in full allocation mode, no need to
// reload it.
if(hasFilteredFiles && !h.has_filtered_pieces()){
BTSession->pauseAndReloadTorrent(h);
}
BTSession->loadFilesPriorities(h);
// Emit a signal so that the GUI updates the size
emit filteredFilesChanged(hash);
has_filtered_files = hasFilteredFiles;
return true;