mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-06 15:04:34 +08:00
- Fixed session ratio value: was either 10. or 1. (closes #133026)
This commit is contained in:
parent
417d8a777b
commit
55834ba5db
2
TODO
2
TODO
@ -49,6 +49,7 @@
|
||||
- make use of finishedChecking alert if hydri applies my patch for this
|
||||
- Clean up delayed progress column sorting code
|
||||
- Clean up pause after checking code
|
||||
- Check incremental download (looks broken)
|
||||
- Wait for some bug fixes in libtorrent :
|
||||
- upload/download limit per torrent (Ticket #83)
|
||||
|
||||
@ -75,5 +76,6 @@ beta4->beta5 changelog:
|
||||
- BUGFIX: Finished torrents were still displayed as checking when paused by libtorrent on full disk (hit an assert)
|
||||
- BUGFIX: Fixed the way icons are installed to avoid problems on some systems
|
||||
- BUGFIX: Fixed qBittorrent version in .desktop file
|
||||
- BUGFIX: Fixed session ratio value (was either 10. or 1.)
|
||||
- I18N: Updated Italian, Polish, Portuguese, Brazilian translations
|
||||
- COSMETIC: Changed the way progress bars are rendered
|
||||
|
@ -1670,7 +1670,7 @@ void GUI::checkConnectionStatus(){
|
||||
else
|
||||
ratio = 10.;
|
||||
}else{
|
||||
float ratio = (float)sessionStatus.total_payload_upload / (float)sessionStatus.total_payload_download;
|
||||
ratio = (double)sessionStatus.total_payload_upload / (double)sessionStatus.total_payload_download;
|
||||
if(ratio > 10.)
|
||||
ratio = 10.;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user