Skip to content

Commit dd6ee04

Browse files
committed
chore: correct typos in diskhealthheaderview.cpp
Correct typos in diskhealthheaderview.cpp
1 parent bbe9b50 commit dd6ee04

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
@@ -194,8 +194,8 @@ void DiskHealthHeaderView::paintSection(QPainter *painter, const QRect &rect, in
194194
painter->fillRect(vSpacingRect, vSpacingBrush);
195195
}
196196

197-
QPen forground;
198-
forground.setColor(palette.color(cg, DPalette::Text));
197+
QPen foreground;
198+
foreground.setColor(palette.color(cg, DPalette::Text));
199199
QRect textRect;
200200
if (sortIndicatorSection() == logicalIndex) {
201201
// qDebug() << "Logical index matches sort indicator section, adjusting textRect for sort indicator.";
@@ -210,7 +210,7 @@ void DiskHealthHeaderView::paintSection(QPainter *painter, const QRect &rect, in
210210
}
211211
QString title = model()->headerData(logicalIndex, orientation(), Qt::DisplayRole).toString();
212212
int align = model()->headerData(logicalIndex, orientation(), Qt::TextAlignmentRole).toInt();
213-
painter->setPen(forground);
213+
painter->setPen(foreground);
214214
painter->drawText(textRect, int(align), title);
215215

216216
// sort indicator

0 commit comments

Comments
 (0)