- small fix in finished list

This commit is contained in:
Christophe Dumez 2007-04-15 17:00:16 +00:00
parent 43bced2e04
commit 5fc754520a

View file

@ -242,7 +242,10 @@ void FinishedTorrents::updateFinishedList(){
qDebug("Problem: This torrent is not valid in finished list"); qDebug("Problem: This torrent is not valid in finished list");
continue; continue;
} }
if(h.is_paused()) continue; if(h.is_paused()){
h.resume();
continue;
}
torrent_status torrentStatus = h.status(); torrent_status torrentStatus = h.status();
if(torrentStatus.state == torrent_status::downloading) { if(torrentStatus.state == torrent_status::downloading) {
// What are you doing here, go back to download tab! // What are you doing here, go back to download tab!