mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
Fix "Pause/Delete" torrents once they reach a given ratio
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user