Browse Source

Use global style options for drawing progress in TransferList

adaptive-webui-19844
jagannatharjun 4 years ago
parent
commit
332dd027af
  1. 2
      src/gui/transferlistdelegate.cpp

2
src/gui/transferlistdelegate.cpp

@ -70,7 +70,7 @@ void TransferListDelegate::paint(QPainter *painter, const QStyleOptionViewItem & @@ -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…
Cancel
Save