mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Support per-peer rate limiting
This commit is contained in:
parent
bf6d7534d5
commit
47fc4679d4
6 changed files with 88 additions and 3 deletions
|
@ -53,6 +53,7 @@ private:
|
|||
PeerListDelegate *listDelegate;
|
||||
QSortFilterProxyModel * proxyModel;
|
||||
QHash<QString, QStandardItem*> peerItems;
|
||||
QHash<QString, boost::asio::ip::tcp::endpoint> peerEndpoints;
|
||||
QSet<QString> missingFlags;
|
||||
QPointer<ReverseResolution> resolver;
|
||||
PropertiesWidget* properties;
|
||||
|
@ -75,6 +76,8 @@ protected slots:
|
|||
void loadSettings();
|
||||
void saveSettings() const;
|
||||
void showPeerListMenu(QPoint);
|
||||
void limitUpRateSelectedPeers(QStringList peer_ips);
|
||||
void limitDlRateSelectedPeers(QStringList peer_ips);
|
||||
};
|
||||
|
||||
#endif // PEERLISTWIDGET_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue