1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 13:04:23 +00:00

Use global style options for drawing progress in TransferList

This commit is contained in:
jagannatharjun 2020-07-04 10:36:54 +05:30
parent ca8654d380
commit 332dd027af

View File

@ -70,7 +70,7 @@ void TransferListDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
#endif #endif
painter->save(); painter->save();
style->drawControl(QStyle::CE_ProgressBar, &newopt, painter, option.widget); style->drawControl(QStyle::CE_ProgressBar, &newopt, painter);
painter->restore(); painter->restore();
} }