mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
Always show progress and remaining bytes for unselected files.
This commit is contained in:
@@ -69,7 +69,6 @@ qulonglong TorrentContentModelItem::size() const
|
||||
qreal TorrentContentModelItem::progress() const
|
||||
{
|
||||
Q_ASSERT(!isRootItem());
|
||||
if (m_priority == prio::IGNORED) return 0;
|
||||
|
||||
if (m_size > 0) return m_progress;
|
||||
|
||||
@@ -78,10 +77,8 @@ qreal TorrentContentModelItem::progress() const
|
||||
|
||||
qulonglong TorrentContentModelItem::remaining() const
|
||||
{
|
||||
Q_ASSERT(!isRootItem());
|
||||
if (m_priority == prio::IGNORED) return 0;
|
||||
|
||||
return m_remaining;
|
||||
Q_ASSERT(!isRootItem());
|
||||
return m_remaining;
|
||||
}
|
||||
|
||||
int TorrentContentModelItem::priority() const
|
||||
|
||||
Reference in New Issue
Block a user