1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-22 04:24:23 +00:00

- Should fix the problem of finished torrents in download list (Thx heavyjoos)

This commit is contained in:
Christophe Dumez 2007-04-14 21:06:00 +00:00
parent 7d8d4e7ee5
commit 4d6afaacfd

View File

@ -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...")));