mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
Use global style options for drawing progress in TransferList
This commit is contained in:
parent
ca8654d380
commit
332dd027af
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ void TransferListDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
|
|||
#endif
|
||||
|
||||
painter->save();
|
||||
style->drawControl(QStyle::CE_ProgressBar, &newopt, painter, option.widget);
|
||||
style->drawControl(QStyle::CE_ProgressBar, &newopt, painter);
|
||||
painter->restore();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue