mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 20:58:07 -06:00
committed by
GitHub
parent
e7dee969e1
commit
6cd6267c26
@@ -96,7 +96,7 @@ QVariantMap serialize(const BitTorrent::Torrent &torrent)
|
||||
|
||||
const auto adjustRatio = [](const qreal ratio) -> qreal
|
||||
{
|
||||
return (ratio > BitTorrent::Torrent::MAX_RATIO) ? -1 : ratio;
|
||||
return (ratio >= BitTorrent::Torrent::MAX_RATIO) ? -1 : ratio;
|
||||
};
|
||||
|
||||
const auto getLastActivityTime = [&torrent]() -> qlonglong
|
||||
|
||||
Reference in New Issue
Block a user