- Torrents can now be rechecked from Web UI (patch by Stephanos Antaris)

- Torrents paused/resumed state is not reflected in GUI if the action was executed from Web UI
This commit is contained in:
Christophe Dumez
2009-11-17 08:15:26 +00:00
parent e30268cf3b
commit 4e8eaafd53
13 changed files with 77 additions and 49 deletions

View File

@@ -37,6 +37,7 @@
#include <QStyleOptionViewItem>
#include <QStyleOptionViewItemV2>
#include <QApplication>
#include <QPainter>
#include "misc.h"
// Defines for download list list columns
@@ -57,6 +58,7 @@ public:
switch(index.column()){
case SIZE:{
QItemDelegate::drawBackground(painter, opt, index);
opt.displayAlignment = Qt::AlignHCenter;
QItemDelegate::drawDisplay(painter, opt, option.rect, misc::friendlyUnit(index.data().toLongLong()));
break;
}