diff --git a/desktop-widgets/modeldelegates.h b/desktop-widgets/modeldelegates.h index 93307e48b..4f3e12804 100644 --- a/desktop-widgets/modeldelegates.h +++ b/desktop-widgets/modeldelegates.h @@ -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; };