mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Allow to set global upload/download bandwidth limit from tray icon menu
- Fixed a bug in bandwidth limitation per torrent (confused bytes with kbytes) - Fixed a bug with paused torrents still displayed as checking
This commit is contained in:
parent
eed49c10ce
commit
8c5d38400a
8 changed files with 196 additions and 63 deletions
|
@ -594,6 +594,10 @@ void bittorrent::setDownloadRateLimit(int rate){
|
|||
s->set_download_rate_limit(rate);
|
||||
}
|
||||
|
||||
session* bittorrent::getSession() const{
|
||||
return s;
|
||||
}
|
||||
|
||||
// Set upload rate limit
|
||||
// -1 to disable
|
||||
void bittorrent::setUploadRateLimit(int rate){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue