- 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:
Christophe Dumez 2007-07-14 10:50:38 +00:00
parent eed49c10ce
commit 8c5d38400a
8 changed files with 196 additions and 63 deletions

View file

@ -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){