Add 'Completed' column. Closes #1241.

This commit is contained in:
sledgehammer999
2014-08-14 20:19:35 +03:00
parent fe0df04ea8
commit e0190d5576
4 changed files with 6 additions and 1 deletions

View File

@@ -65,6 +65,7 @@ public:
case TorrentModelItem::TR_AMOUNT_DOWNLOADED:
case TorrentModelItem::TR_AMOUNT_UPLOADED:
case TorrentModelItem::TR_AMOUNT_LEFT:
case TorrentModelItem::TR_COMPLETED:
case TorrentModelItem::TR_SIZE:{
QItemDelegate::drawBackground(painter, opt, index);
QItemDelegate::drawDisplay(painter, opt, option.rect, misc::friendlyUnit(index.data().toLongLong()));