Fix some warnings

This commit is contained in:
thalieht 2018-09-07 14:12:38 +03:00 committed by sledgehammer999
parent 84f0dbecfe
commit 5251d93b3d
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2
29 changed files with 48 additions and 50 deletions

View file

@ -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;