mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
Fix some warnings
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user