BUGFIX: Improved incremental download

This commit is contained in:
Christophe Dumez 2007-08-17 02:22:04 +00:00
parent df8c591edd
commit b4fbaaa47c
3 changed files with 4 additions and 2 deletions

View file

@ -47,6 +47,7 @@
- BUGFIX: The number of search results was not reset when clicking on 'Clear' button
- BUGFIX: Update torrent progress when its content changed (filtered files)
- BUGFIX: Improved the way menu icons are installed to avoid problems on some systems
- BUGFIX: Improved incremental download
- COSMETIC: Redesigned torrent properties a little
- COSMETIC: Redesigned options a little
- COSMETIC: Display more logs messages concerning features

1
TODO
View file

@ -78,5 +78,6 @@ beta4->beta5 changelog:
- BUGFIX: Fixed the way icons are installed to avoid problems on some systems
- BUGFIX: Fixed qBittorrent version in .desktop file
- BUGFIX: Fixed session ratio value (was either 10. or 1.)
- BUGFIX: Improved incremental download
- I18N: Updated Italian, Polish, Portuguese, Brazilian translations
- COSMETIC: Changed the way progress bars are rendered

View file

@ -386,7 +386,7 @@ void bittorrent::addTorrent(QString path, bool fromScanDir, QString from_url){
// Incremental download
if(QFile::exists(misc::qBittorrentPath()+"BT_backup"+QDir::separator()+hash+".incremental")){
qDebug("Incremental download enabled for %s", t.name().c_str());
h.set_sequenced_download_threshold(15);
h.set_sequenced_download_threshold(1);
}
// If download from url, remove temp file
if(!from_url.isNull()) QFile::remove(file);
@ -1062,7 +1062,7 @@ void bittorrent::reloadTorrent(const torrent_handle &h){
// Incremental download
if(QFile::exists(misc::qBittorrentPath()+"BT_backup"+QDir::separator()+fileHash+".incremental")){
qDebug("Incremental download enabled for %s", (const char*)fileName.toUtf8());
new_h.set_sequenced_download_threshold(15);
new_h.set_sequenced_download_threshold(1);
}
}