From c4a0c8f1000189f486ede4022e52e1a62924ce44 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 1 Oct 2008 19:17:07 +0000 Subject: [PATCH] - Should fix bug #276196 --- src/FinishedTorrents.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/FinishedTorrents.cpp b/src/FinishedTorrents.cpp index b3dd1e6bf..e984f7d4c 100644 --- a/src/FinishedTorrents.cpp +++ b/src/FinishedTorrents.cpp @@ -280,12 +280,7 @@ void FinishedTorrents::updateFinishedList(){ } } if(h.is_paused()) continue; - if(h.state() == torrent_status::downloading || (h.state() != torrent_status::checking_files && h.state() != torrent_status::queued_for_checking && !h.is_seed())) { - if(h.state() == torrent_status::downloading) - qDebug("DOWNLOADING STATE"); - qDebug("h.progress(): %f", h.progress()); - if(!h.is_seed()) - qDebug("IS NOT SEED"); + if(h.state() == torrent_status::downloading /*|| (h.state() != torrent_status::checking_files && h.state() != torrent_status::queued_for_checking && !h.is_seed())*/) { // What are you doing here? go back to download tab! int reponse = QMessageBox::question(this, tr("Incomplete torrent in seeding list"), tr("It appears that the state of '%1' torrent changed from 'seeding' to 'downloading'. Would you like to move it back to download list? (otherwise the torrent will simply be deleted)").arg(h.name()), QMessageBox::Yes | QMessageBox::No); if (reponse == QMessageBox::Yes) {