mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- New tracker list (displays tracker status and error/warning messages)
This commit is contained in:
parent
8ada8d33c8
commit
ccdb2a82c3
10 changed files with 235 additions and 439 deletions
|
@ -223,13 +223,6 @@ public:
|
|||
return qBtPath;
|
||||
}
|
||||
|
||||
static void fixTrackersTiers(std::vector<announce_entry> trackers) {
|
||||
unsigned int nbTrackers = trackers.size();
|
||||
for(unsigned int i=0; i<nbTrackers; ++i) {
|
||||
trackers[i].tier = i;
|
||||
}
|
||||
}
|
||||
|
||||
// Insertion sort, used instead of bubble sort because it is
|
||||
// approx. 5 times faster.
|
||||
template <class T> static void insertSort(QList<QPair<int, T> > &list, const QPair<int, T>& value, Qt::SortOrder sortOrder) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue