mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
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:
parent
e70e3082c9
commit
cb410fe1ba
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue