1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Fix reporting of tracker status. Closes #3101.

This commit is contained in:
sledgehammer999 2015-11-04 19:13:09 +02:00
parent 12072e2b69
commit e6b7a429ea

View File

@ -61,7 +61,7 @@ int TrackerEntry::tier() const
TrackerEntry::Status TrackerEntry::status() const
{
if (m_nativeEntry.verified)
if (m_nativeEntry.is_working())
return Working;
else if ((m_nativeEntry.fails == 0) && m_nativeEntry.updating)
return Updating;