code consistency: replace qMin/qMax by std::min/std::max

We use the latter pretty consistently, so let's remove the few
left instances of the former.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-01-17 22:47:40 +01:00 committed by Dirk Hohndel
parent 429230ced1
commit bef21ff5eb
2 changed files with 4 additions and 4 deletions

View file

@ -35,7 +35,7 @@
QSize DiveListDelegate::sizeHint(const QStyleOptionViewItem &, const QModelIndex &) const
{
const QFontMetrics metrics(qApp->font());
return QSize(50, qMax(22, metrics.height()));
return QSize(50, std::max(22, metrics.height()));
}
// Gets the index of the model in the currentRow and column.