diff --git a/application/widgets/diskhealthheaderview.cpp b/application/widgets/diskhealthheaderview.cpp index b4d40593..ca80f899 100644 --- a/application/widgets/diskhealthheaderview.cpp +++ b/application/widgets/diskhealthheaderview.cpp @@ -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, @@ -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