|
Lines 49-55
Link Here
|
| 49 |
if (column == FileTreeModel::COL_PROGRESS) |
49 |
if (column == FileTreeModel::COL_PROGRESS) |
| 50 |
{ |
50 |
{ |
| 51 |
QStyleOptionProgressBar p; |
51 |
QStyleOptionProgressBar p; |
| 52 |
p.state = option.state | QStyle::State_Small; |
52 |
p.state = option.state | QStyle::State_Horizontal | QStyle::State_Small; |
| 53 |
p.direction = qApp->layoutDirection(); |
53 |
p.direction = qApp->layoutDirection(); |
| 54 |
p.rect = option.rect; |
54 |
p.rect = option.rect; |
| 55 |
p.rect.setSize(QSize(option.rect.width() - 4, option.rect.height() - 8)); |
55 |
p.rect.setSize(QSize(option.rect.width() - 4, option.rect.height() - 8)); |