cleanup: don't define empty inline constructor

Just use the constructor of the parent class.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2023-02-12 13:03:28 +01:00 committed by bstoeger
parent e70e3082c9
commit cb410fe1ba

View file

@ -12,10 +12,7 @@ struct divecomputer;
class DiveListDelegate : public QStyledItemDelegate { class DiveListDelegate : public QStyledItemDelegate {
public: public:
explicit DiveListDelegate(QObject *parent = 0) using QStyledItemDelegate::QStyledItemDelegate;
: QStyledItemDelegate(parent)
{
}
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const; QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
}; };