From 332dd027afa468140760e6acf93288ff0b9c0c6c Mon Sep 17 00:00:00 2001 From: jagannatharjun Date: Sat, 4 Jul 2020 10:36:54 +0530 Subject: [PATCH] Use global style options for drawing progress in TransferList --- src/gui/transferlistdelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/transferlistdelegate.cpp b/src/gui/transferlistdelegate.cpp index bf8f95037..d8ecfb1a4 100644 --- a/src/gui/transferlistdelegate.cpp +++ b/src/gui/transferlistdelegate.cpp @@ -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(); }