mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-26 19:26:59 +03:00
Prioritize first and last pieces when sequential download is enabled
This commit is contained in:
parent
1fb510b2b0
commit
30d94d7c4d
1 changed files with 1 additions and 0 deletions
|
@ -1089,6 +1089,7 @@ void QBtSession::loadTorrentTempData(QTorrentHandle h, QString savePath, bool ma
|
|||
if(TorrentTempData::hasTempData(hash)) {
|
||||
// sequential download
|
||||
h.set_sequential_download(TorrentTempData::isSequential(hash));
|
||||
h.prioritize_first_last_piece(TorrentTempData::isSequential(hash));
|
||||
|
||||
// The following is useless for newly added magnet
|
||||
if(!magnet) {
|
||||
|
|
Loading…
Reference in a new issue