mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 12:34:19 +00:00
BUGFIX: Showing checking progress for paused torrents too
This commit is contained in:
parent
28294efadf
commit
124fa3c8ed
1
TODO
1
TODO
@ -78,3 +78,4 @@ beta5->beta6 changelog:
|
|||||||
- FEATURE: Split GUI class from download tab
|
- FEATURE: Split GUI class from download tab
|
||||||
- BUGFIX: Made torrent deletion from hard-drive safer
|
- BUGFIX: Made torrent deletion from hard-drive safer
|
||||||
- BUGFIX: Fixed a bug when switching from finished to downloading list
|
- BUGFIX: Fixed a bug when switching from finished to downloading list
|
||||||
|
- BUGFIX: Showing checking progress for paused torrents too
|
||||||
|
@ -398,9 +398,9 @@ void DownloadingTorrents::updateDlList() {
|
|||||||
if(BTSession->getTorrentsToPauseAfterChecking().indexOf(hash) == -1) {
|
if(BTSession->getTorrentsToPauseAfterChecking().indexOf(hash) == -1) {
|
||||||
DLListModel->setData(DLListModel->index(row, NAME), QVariant(QIcon(QString::fromUtf8(":/Icons/time.png"))), Qt::DecorationRole);
|
DLListModel->setData(DLListModel->index(row, NAME), QVariant(QIcon(QString::fromUtf8(":/Icons/time.png"))), Qt::DecorationRole);
|
||||||
setRowColor(row, QString::fromUtf8("grey"));
|
setRowColor(row, QString::fromUtf8("grey"));
|
||||||
|
}
|
||||||
Q_ASSERT(h.progress() <= 1. && h.progress() >= 0.);
|
Q_ASSERT(h.progress() <= 1. && h.progress() >= 0.);
|
||||||
DLListModel->setData(DLListModel->index(row, PROGRESS), QVariant((double)h.progress()));
|
DLListModel->setData(DLListModel->index(row, PROGRESS), QVariant((double)h.progress()));
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case torrent_status::connecting_to_tracker:
|
case torrent_status::connecting_to_tracker:
|
||||||
if(h.download_payload_rate() > 0) {
|
if(h.download_payload_rate() > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user