1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-16 01:30:09 +00:00
Chocobo1 d866033a8e
Fix divide-by-zero crash
Previously here was using a cheap method to avoid divisor becoming < 0, but from
the crash stacktrace it seems this is not enough, now the divisor is properly
clamped to have 1 as the minimum.
Also it will now display "Unknown" for invalid calculation results.

Closes #9857.
2018-11-18 13:50:23 +08:00
..
2018-06-12 07:17:05 +03:00
2018-09-07 19:40:08 +03:00
2018-09-07 19:40:08 +03:00
2018-06-12 07:17:05 +03:00
2018-06-12 07:17:05 +03:00
2017-11-20 23:29:59 +02:00
2018-11-18 13:50:23 +08:00
2017-11-20 23:29:59 +02:00
2018-05-09 16:08:22 +03:00
2017-11-20 23:29:59 +02:00
2018-07-03 08:38:32 +03:00
2018-06-12 07:17:05 +03:00
2018-09-07 19:40:08 +03:00