From 4d6afaacfda3a9233148a7c7b9bb9538d50c30d5 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 14 Apr 2007 21:06:00 +0000 Subject: [PATCH] - Should fix the problem of finished torrents in download list (Thx heavyjoos) --- src/GUI.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/GUI.cpp b/src/GUI.cpp index ea0e2a7b4..05346c57a 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -499,8 +499,9 @@ void GUI::updateDlList(bool force){ switch(torrentStatus.state){ case torrent_status::finished: case torrent_status::seeding: - qDebug("Warning: this shouldn't happen, no finished torrents in download tab..."); - break; + qDebug("Warning: this shouldn't happen, no finished torrents in download tab, moving it"); + finishedTorrent(h); + continue; case torrent_status::checking_files: case torrent_status::queued_for_checking: DLListModel->setData(DLListModel->index(row, STATUS), QVariant(tr("Checking...", "i.e: Checking already downloaded parts...")));