mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-12 18:24:58 +08:00
Fix updating of Error/Warning trackers counter.
This commit is contained in:
parent
6c579950f6
commit
18e2bb6f60
@ -559,6 +559,9 @@ void TrackerFiltersList::trackerSuccess(const QString &hash, const QString &trac
|
||||
if (currentRow() == 2)
|
||||
applyFilter(2);
|
||||
}
|
||||
else {
|
||||
m_errors.insert(hash, errored);
|
||||
}
|
||||
}
|
||||
|
||||
if (warned.contains(tracker)) {
|
||||
@ -569,6 +572,9 @@ void TrackerFiltersList::trackerSuccess(const QString &hash, const QString &trac
|
||||
if (currentRow() == 3)
|
||||
applyFilter(3);
|
||||
}
|
||||
else {
|
||||
m_warnings.insert(hash, warned);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user