Browse Source

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

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
4d6afaacfd
  1. 5
      src/GUI.cpp

5
src/GUI.cpp

@ -499,8 +499,9 @@ void GUI::updateDlList(bool force){
switch(torrentStatus.state){ switch(torrentStatus.state){
case torrent_status::finished: case torrent_status::finished:
case torrent_status::seeding: case torrent_status::seeding:
qDebug("Warning: this shouldn't happen, no finished torrents in download tab..."); qDebug("Warning: this shouldn't happen, no finished torrents in download tab, moving it");
break; finishedTorrent(h);
continue;
case torrent_status::checking_files: case torrent_status::checking_files:
case torrent_status::queued_for_checking: case torrent_status::queued_for_checking:
DLListModel->setData(DLListModel->index(row, STATUS), QVariant(tr("Checking...", "i.e: Checking already downloaded parts..."))); DLListModel->setData(DLListModel->index(row, STATUS), QVariant(tr("Checking...", "i.e: Checking already downloaded parts...")));

Loading…
Cancel
Save