mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07:00
Merge pull request #2320 from pmzqla/webui-pausederror
WebUI: Add torrents paused because of errors in Paused and Download list
This commit is contained in:
commit
5f8a49313e
1 changed files with 4 additions and 2 deletions
|
@ -74,7 +74,8 @@ bool QTorrentFilter::isTorrentDownloading(const QTorrentHandle &h) const
|
||||||
|| state == QTorrentState::StalledDownloading
|
|| state == QTorrentState::StalledDownloading
|
||||||
|| state == QTorrentState::CheckingDownloading
|
|| state == QTorrentState::CheckingDownloading
|
||||||
|| state == QTorrentState::PausedDownloading
|
|| state == QTorrentState::PausedDownloading
|
||||||
|| state == QTorrentState::QueuedDownloading;
|
|| state == QTorrentState::QueuedDownloading
|
||||||
|
|| state == QTorrentState::Error;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool QTorrentFilter::isTorrentCompleted(const QTorrentHandle &h) const
|
bool QTorrentFilter::isTorrentCompleted(const QTorrentHandle &h) const
|
||||||
|
@ -93,7 +94,8 @@ bool QTorrentFilter::isTorrentPaused(const QTorrentHandle &h) const
|
||||||
const QTorrentState state = h.torrentState();
|
const QTorrentState state = h.torrentState();
|
||||||
|
|
||||||
return state == QTorrentState::PausedDownloading
|
return state == QTorrentState::PausedDownloading
|
||||||
|| state == QTorrentState::PausedUploading;
|
|| state == QTorrentState::PausedUploading
|
||||||
|
|| state == QTorrentState::Error;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool QTorrentFilter::isTorrentActive(const QTorrentHandle &h) const
|
bool QTorrentFilter::isTorrentActive(const QTorrentHandle &h) const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue