Browse Source

Prioritize first and last pieces when sequential download is enabled

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
30d94d7c4d
  1. 1
      src/qtlibtorrent/qbtsession.cpp

1
src/qtlibtorrent/qbtsession.cpp

@ -1089,6 +1089,7 @@ void QBtSession::loadTorrentTempData(QTorrentHandle h, QString savePath, bool ma @@ -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…
Cancel
Save