Add 'Uploaded' column to main view

This commit is contained in:
Nick Tiskov 2012-12-27 17:55:40 +04:00
commit 680998f9c2
4 changed files with 7 additions and 1 deletions

View file

@ -62,6 +62,7 @@ public:
painter->save();
switch(index.column()) {
case TorrentModelItem::TR_AMOUNT_DOWNLOADED:
case TorrentModelItem::TR_AMOUNT_UPLOADED:
case TorrentModelItem::TR_AMOUNT_LEFT:
case TorrentModelItem::TR_SIZE:{
QItemDelegate::drawBackground(painter, opt, index);