Add 'Completed' column. Closes #1241.

Conflicts:
	src/qtlibtorrent/torrentmodel.cpp
This commit is contained in:
sledgehammer999
2014-08-14 20:19:35 +03:00
parent e252c19342
commit d04f829e35
4 changed files with 6 additions and 1 deletions

View File

@@ -61,6 +61,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()));