- Updated Transfer tab icon

- Fix display of priority for seeding torrents
This commit is contained in:
Christophe Dumez
2009-11-08 08:38:07 +00:00
parent 23d1aa7691
commit c818c2dae6
4 changed files with 7 additions and 2 deletions

View File

@@ -88,8 +88,12 @@ public:
}
case PRIORITY: {
int priority = index.data().toInt();
if(priority >= 0)
if(priority >= 0) {
QItemDelegate::paint(painter, option, index);
} else {
QItemDelegate::drawBackground(painter, opt, index);
QItemDelegate::drawDisplay(painter, opt, opt.rect, "*");
}
break;
}
case PROGRESS:{