Merge pull request #13098 from jagannatharjun/fix-transfer-progress

Use global style options for drawing progress in TransferList
This commit is contained in:
Mike Tzou 2020-07-05 10:51:00 +08:00 committed by GitHub
commit 291977a0e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}