mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
Fix "Pause/Delete" torrents once they reach a given ratio
This commit is contained in:
parent
5a82aee76b
commit
dfecdb1956
3 changed files with 11 additions and 6 deletions
|
|
@ -142,7 +142,7 @@ public:
|
|||
if(ratio > 100.)
|
||||
QItemDelegate::drawDisplay(painter, opt, opt.rect, QString::fromUtf8("∞"));
|
||||
else
|
||||
QItemDelegate::drawDisplay(painter, opt, opt.rect, QString::number(ratio, 'f', 1));
|
||||
QItemDelegate::drawDisplay(painter, opt, opt.rect, QString::number(ratio, 'f', 2));
|
||||
break;
|
||||
}
|
||||
case TR_PRIORITY: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue