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:
parent
ca8654d380
commit
332dd027af
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user