mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
Fix updating of Error/Warning trackers counter.
This commit is contained in:
parent
6c579950f6
commit
18e2bb6f60
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue