mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06: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:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user