mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 04:38:04 -06:00
- 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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user