mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- 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:
parent
4c862597ae
commit
a26333bc65
6 changed files with 45 additions and 47 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue