From 30d94d7c4d4eb9c884fd6e66496ef0e3829d36ac Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 2 Jan 2011 14:00:23 +0000 Subject: [PATCH] Prioritize first and last pieces when sequential download is enabled --- src/qtlibtorrent/qbtsession.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qtlibtorrent/qbtsession.cpp b/src/qtlibtorrent/qbtsession.cpp index 45a960263..ca385fe86 100644 --- a/src/qtlibtorrent/qbtsession.cpp +++ b/src/qtlibtorrent/qbtsession.cpp @@ -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) {