mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-16 01:30:09 +00:00
d866033a8e
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.