mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +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:
commit
ce81103398
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user