Commit e24e964a authored by Gabriel Souza Franco's avatar Gabriel Souza Franco
Browse files

Explicitly set progress bar to horizontal mode

Breeze and Oxygen default to a vertical progress bar.

BUG: 455451
BUG: 455367
FIXED-IN: 22.08
parent 0ced1c03
Pipeline #210791 passed with stage
in 2 minutes and 7 seconds
......@@ -325,7 +325,7 @@ void ViewDelegate::paintProgressBar(QPainter *painter, const QStyleOptionViewIte
QStyleOptionProgressBar progressBarOption;
progressBarOption.palette = option.palette;
progressBarOption.state = option.state;
progressBarOption.state = option.state | QStyle::State_Horizontal;
progressBarOption.rect = option.rect;
progressBarOption.minimum = 0;
progressBarOption.maximum = 100;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment