Improve Status Filter

replaces quadratic update operation with linear
This commit is contained in:
Prince Gupta
2022-03-05 14:04:27 +05:30
parent 25be00931a
commit 30319e51e5
4 changed files with 161 additions and 59 deletions

View File

@@ -459,6 +459,7 @@ namespace BitTorrent
void startUpTorrents();
Torrent *findTorrent(const TorrentID &id) const;
QVector<Torrent *> torrents() const;
qsizetype torrentsCount() const;
bool hasActiveTorrents() const;
bool hasUnfinishedTorrents() const;
bool hasRunningSeed() const;