mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06: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:
@@ -78,7 +78,7 @@ qreal TorrentContentModelItem::progress() const
|
|||||||
qulonglong TorrentContentModelItem::remaining() const
|
qulonglong TorrentContentModelItem::remaining() const
|
||||||
{
|
{
|
||||||
Q_ASSERT(!isRootItem());
|
Q_ASSERT(!isRootItem());
|
||||||
return m_remaining;
|
return (m_priority == BitTorrent::DownloadPriority::Ignored) ? 0 : m_remaining;
|
||||||
}
|
}
|
||||||
|
|
||||||
qreal TorrentContentModelItem::availability() const
|
qreal TorrentContentModelItem::availability() const
|
||||||
|
|||||||
Reference in New Issue
Block a user