From de2384e4a7598eb40d635aa61eb61d6b13d845fd Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 1 Oct 2008 19:00:59 +0000 Subject: [PATCH] - Added some debug --- src/FinishedTorrents.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/FinishedTorrents.cpp b/src/FinishedTorrents.cpp index a1859bb0f..29df4ae57 100644 --- a/src/FinishedTorrents.cpp +++ b/src/FinishedTorrents.cpp @@ -281,6 +281,9 @@ 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.progress() < 1.)) { + if(h.state() == torrent_status::downloading) + qDebug("DOWNLOADING STATE"); + qDebug("h.progress(): %f", h.progress()); // 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) {