Browse Source

Fix updating of Error/Warning trackers counter.

adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
18e2bb6f60
  1. 6
      src/gui/transferlistfilterswidget.cpp

6
src/gui/transferlistfilterswidget.cpp

@ -559,6 +559,9 @@ void TrackerFiltersList::trackerSuccess(const QString &hash, const QString &trac
if (currentRow() == 2) if (currentRow() == 2)
applyFilter(2); applyFilter(2);
} }
else {
m_errors.insert(hash, errored);
}
} }
if (warned.contains(tracker)) { if (warned.contains(tracker)) {
@ -569,6 +572,9 @@ void TrackerFiltersList::trackerSuccess(const QString &hash, const QString &trac
if (currentRow() == 3) if (currentRow() == 3)
applyFilter(3); applyFilter(3);
} }
else {
m_warnings.insert(hash, warned);
}
} }
} }

Loading…
Cancel
Save