Browse Source

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

Use global style options for drawing progress in TransferList
adaptive-webui-19844
Mike Tzou 5 years ago committed by GitHub
parent
commit
291977a0e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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