mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 06:01:33 -06:00
Use global style options for drawing progress in TransferList
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user