mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Prioritize first and last pieces when sequential download is enabled
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.5.4
|
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.5.4
|
||||||
- BUGFIX: Added --enable-debug parameter to the configure script
|
- BUGFIX: Added --enable-debug parameter to the configure script
|
||||||
|
- BUGFIX: Prioritize first and last pieces when sequential download is enabled
|
||||||
|
- BUGFIX: Some encoding fixes (Windows)
|
||||||
|
|
||||||
* Sat Jan 1 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.5.3
|
* Sat Jan 1 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.5.3
|
||||||
- BUGFIX: Fix priority up/down for multiple torrents at the same time (closes #692184)
|
- BUGFIX: Fix priority up/down for multiple torrents at the same time (closes #692184)
|
||||||
|
|||||||
@@ -1157,6 +1157,7 @@ void QBtSession::loadTorrentTempData(QTorrentHandle h, QString savePath, bool ma
|
|||||||
if(TorrentTempData::hasTempData(hash)) {
|
if(TorrentTempData::hasTempData(hash)) {
|
||||||
// sequential download
|
// sequential download
|
||||||
h.set_sequential_download(TorrentTempData::isSequential(hash));
|
h.set_sequential_download(TorrentTempData::isSequential(hash));
|
||||||
|
h.prioritize_first_last_piece(TorrentTempData::isSequential(hash));
|
||||||
|
|
||||||
// The following is useless for newly added magnet
|
// The following is useless for newly added magnet
|
||||||
if(!magnet) {
|
if(!magnet) {
|
||||||
|
|||||||
Reference in New Issue
Block a user