mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 16:37:21 -06:00
Calculate eta for seed only torrents using ratio limits
This commit is contained in:
@@ -172,7 +172,7 @@ QVariant TorrentModelItem::data(int column, int role) const
|
||||
return m_torrent.upload_payload_rate();
|
||||
case TR_ETA: {
|
||||
// XXX: Is this correct?
|
||||
if (m_torrent.is_seed() || m_torrent.is_paused() || m_torrent.is_queued()) return MAX_ETA;
|
||||
if (m_torrent.is_paused() || m_torrent.is_queued()) return MAX_ETA;
|
||||
return QBtSession::instance()->getETA(m_torrent.hash());
|
||||
}
|
||||
case TR_RATIO:
|
||||
|
||||
Reference in New Issue
Block a user