- The torrent size displayed now takes filtered files into consideration

This commit is contained in:
Christophe Dumez 2007-04-12 21:28:15 +00:00
parent 9c83c195e3
commit 45d51e1d44
8 changed files with 28 additions and 9 deletions

View file

@ -709,6 +709,7 @@ void bittorrent::readAlerts(){
}
void bittorrent::reloadTorrent(const torrent_handle &h, bool compact_mode){
qDebug("** Reloading a torrent");
if(!h.is_valid()){
qDebug("/!\\ Error: Invalid handle");
return;
@ -767,6 +768,7 @@ void bittorrent::reloadTorrent(const torrent_handle &h, bool compact_mode){
qDebug("Incremental download enabled for %s", (const char*)fileName.toUtf8());
new_h.set_sequenced_download_threshold(15);
}
emit updateFileSize(fileHash);
}
int bittorrent::getListenPort() const{