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 {
public:
explicit DiveListDelegate(QObject *parent = 0)
: QStyledItemDelegate(parent)
{
}
using QStyledItemDelegate::QStyledItemDelegate;
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
};