Skip to content

Commit cee9c12

Browse files
authored
chore: correct typos in diskhealthheaderview.cpp
Correct typos in diskhealthheaderview.cpp
1 parent 705b6ff commit cee9c12

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

application/widgets/diskhealthheaderview.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ void DiskHealthHeaderView::paintSection(QPainter *painter, const QRect &rect, in
161161
painter->fillRect(vSpacingRect, vSpacingBrush);
162162
}
163163

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

181181
// sort indicator

0 commit comments

Comments
 (0)