mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
Fix some warnings
This commit is contained in:
parent
84f0dbecfe
commit
5251d93b3d
29 changed files with 48 additions and 50 deletions
|
@ -104,7 +104,7 @@ void TransferListDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
|
|||
break;
|
||||
case TransferListModel::TR_UPSPEED:
|
||||
case TransferListModel::TR_DLSPEED: {
|
||||
const qulonglong speed = index.data().toULongLong();
|
||||
const int speed = index.data().toInt();
|
||||
if (hideValues && !speed)
|
||||
break;
|
||||
opt.displayAlignment = Qt::AlignRight | Qt::AlignVCenter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue