- Fixed ipv4 compilation warning with latest g++

- Paused torrents that are checking are now displayed as paused (not checking) -> less confusing
- Updated TODO (libtorrent fixed ipfilter bug)
This commit is contained in:
Christophe Dumez 2007-07-26 15:43:27 +00:00
parent d3f917b408
commit 676f30d9a1
3 changed files with 6 additions and 5 deletions

View file

@ -611,9 +611,11 @@ void GUI::updateDlList(bool force){
continue;
case torrent_status::checking_files:
case torrent_status::queued_for_checking:
DLListModel->setData(DLListModel->index(row, NAME), QVariant(QIcon(":/Icons/skin/connecting.png")), Qt::DecorationRole);
setRowColor(row, "grey");
DLListModel->setData(DLListModel->index(row, PROGRESS), QVariant((double)torrentStatus.progress));
if(BTSession->getTorrentsToPauseAfterChecking().indexOf(fileHash) == -1){
DLListModel->setData(DLListModel->index(row, NAME), QVariant(QIcon(":/Icons/skin/connecting.png")), Qt::DecorationRole);
setRowColor(row, "grey");
DLListModel->setData(DLListModel->index(row, PROGRESS), QVariant((double)torrentStatus.progress));
}
break;
case torrent_status::connecting_to_tracker:
if(torrentStatus.download_payload_rate > 0){