mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Update trackersfilterwidget.h
This pull request adds a new special sidebar filter to the transfer list: Only HTTP. The filter displays torrents that have only HTTP tracker addresses (no HTTPS trackers present). Implementation follows project coding guidelines for naming, formatting, and Qt usage. UI and logic are consistent with other special tracker filters in the sidebar. All user-visible strings are wrapped in tr() for translation and localization. Use case: This feature is useful for users who want to quickly locate torrents that do not use secure (HTTPS) trackers, which may be relevant for diagnosing tracker issues or for privacy/security considerations.
This commit is contained in:
parent
e10fb40a48
commit
6cb837e0ef
1 changed files with 3 additions and 0 deletions
|
@ -85,6 +85,9 @@ private:
|
|||
void downloadFavicon(const QString &trackerHost, const QString &faviconURL);
|
||||
void removeTracker(const QString &tracker);
|
||||
|
||||
static bool isOnlyHttpTrackers(const QList<BitTorrent::TrackerEntryStatus> &trackers);
|
||||
QSet<BitTorrent::TorrentID> m_onlyHttpTorrents;
|
||||
|
||||
struct TrackerData
|
||||
{
|
||||
QSet<BitTorrent::TorrentID> torrents;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue