mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
429230ced1
commit
bef21ff5eb
2 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue