Skip to content

Commit 28a4d38

Browse files
felixonmarslzwind
authored andcommitted
chore: correct typos in diskhealthheaderview.cpp
Correct typos in diskhealthheaderview.cpp
1 parent bbe9b50 commit 28a4d38

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

application/widgets/diskhealthheaderview.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
1+
// SPDX-FileCopyrightText: 2022 - 2026 UnionTech Software Technology Co., Ltd.
22
//
33
// SPDX-License-Identifier: GPL-3.0-only
44

@@ -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)