Prioritize first and last pieces when sequential download is enabled

This commit is contained in:
Christophe Dumez
2011-01-02 14:02:27 +00:00
parent 7908de917a
commit ec3d45fc99
2 changed files with 3 additions and 0 deletions

View File

@@ -1157,6 +1157,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) {