mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Coding style clean up
This commit is contained in:
parent
00b4ad6ec8
commit
f3448125c3
40 changed files with 227 additions and 228 deletions
|
@ -53,14 +53,14 @@ class TransferListDelegate: public QItemDelegate {
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
TransferListDelegate(QObject *parent) : QItemDelegate(parent){}
|
||||
TransferListDelegate(QObject *parent) : QItemDelegate(parent) {}
|
||||
|
||||
~TransferListDelegate(){}
|
||||
~TransferListDelegate() {}
|
||||
|
||||
void paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const{
|
||||
QStyleOptionViewItemV2 opt = QItemDelegate::setOptions(index, option);
|
||||
painter->save();
|
||||
switch(index.column()){
|
||||
switch(index.column()) {
|
||||
case TorrentModelItem::TR_AMOUNT_DOWNLOADED:
|
||||
case TorrentModelItem::TR_AMOUNT_LEFT:
|
||||
case TorrentModelItem::TR_SIZE:{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue