[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-09-12 13:03:02 +00:00
committed by WandererFan
parent a207d11fa4
commit e92ed45df9
435 changed files with 2669 additions and 2645 deletions

View File

@@ -101,7 +101,7 @@ QVariant formatCellDisplay(QString value, const Cell* cell)
}
return QVariant(value);
}
}// namespace
} // namespace
QVariant SheetModel::data(const QModelIndex& index, int role) const
{
@@ -258,7 +258,7 @@ QVariant SheetModel::data(const QModelIndex& index, int role) const
case Qt::ForegroundRole: {
return QColor(0,
0,
255.0);// TODO: Remove this hardcoded color, replace with preference
255.0); // TODO: Remove this hardcoded color, replace with preference
}
case Qt::TextAlignmentRole: {
qtAlignment = Qt::AlignHCenter | Qt::AlignVCenter;