Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions application/widgets/diskhealthheaderview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ void DiskHealthHeaderView::paintSection(QPainter *painter, const QRect &rect, in
painter->fillRect(vSpacingRect, vSpacingBrush);
}

QPen forground;
forground.setColor(palette.color(cg, DPalette::Text));
QPen foreground;
foreground.setColor(palette.color(cg, DPalette::Text));
QRect textRect;
if (sortIndicatorSection() == logicalIndex) {
textRect = {contentRect.x() + margin, contentRect.y() + 7,
Expand All @@ -175,7 +175,7 @@ void DiskHealthHeaderView::paintSection(QPainter *painter, const QRect &rect, in
}
QString title = model()->headerData(logicalIndex, orientation(), Qt::DisplayRole).toString();
int align = model()->headerData(logicalIndex, orientation(), Qt::TextAlignmentRole).toInt();
painter->setPen(forground);
painter->setPen(foreground);
painter->drawText(textRect, int(align), title);

// sort indicator
Expand Down