Browse Source

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

Update remaining size of ignored files to 0
adaptive-webui-19844
Mike Tzou 5 years ago committed by GitHub
parent
commit
ce81103398
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/gui/torrentcontentmodelitem.cpp

2
src/gui/torrentcontentmodelitem.cpp

@ -78,7 +78,7 @@ qreal TorrentContentModelItem::progress() const @@ -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…
Cancel
Save