mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-28 21:38:51 +03:00
Merge pull request #13098 from jagannatharjun/fix-transfer-progress
Use global style options for drawing progress in TransferList
This commit is contained in:
commit
291977a0e5
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…
Reference in a new issue