Coding style clean up

This commit is contained in:
Christophe Dumez 2012-02-20 19:56:07 +02:00
commit f3448125c3
40 changed files with 227 additions and 228 deletions

View file

@ -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:{