1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Merge pull request #10839 from Piccirello/gui-files-table-file-size

Update remaining size of ignored files to 0
This commit is contained in:
Mike Tzou 2019-07-23 22:57:32 +08:00 committed by GitHub
commit ce81103398
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ qreal TorrentContentModelItem::progress() const
qulonglong TorrentContentModelItem::remaining() const
{
Q_ASSERT(!isRootItem());
return m_remaining;
return (m_priority == BitTorrent::DownloadPriority::Ignored) ? 0 : m_remaining;
}
qreal TorrentContentModelItem::availability() const