diff --git a/src/Editor/Widgets/WIntegralSpinBox.cpp b/src/Editor/Widgets/WIntegralSpinBox.cpp index ceddcf8b..1912c65f 100644 --- a/src/Editor/Widgets/WIntegralSpinBox.cpp +++ b/src/Editor/Widgets/WIntegralSpinBox.cpp @@ -7,9 +7,7 @@ WIntegralSpinBox::WIntegralSpinBox(QWidget *pParent) : QSpinBox(pParent) lineEdit()->installEventFilter(this); } -WIntegralSpinBox::~WIntegralSpinBox() -{ -} +WIntegralSpinBox::~WIntegralSpinBox() = default; void WIntegralSpinBox::wheelEvent(QWheelEvent *pEvent) { diff --git a/src/Editor/Widgets/WIntegralSpinBox.h b/src/Editor/Widgets/WIntegralSpinBox.h index 09d959ae..1cda4986 100644 --- a/src/Editor/Widgets/WIntegralSpinBox.h +++ b/src/Editor/Widgets/WIntegralSpinBox.h @@ -9,9 +9,10 @@ class WIntegralSpinBox : public QSpinBox Q_OBJECT public: explicit WIntegralSpinBox(QWidget *pParent); - ~WIntegralSpinBox(); - void wheelEvent(QWheelEvent *pEvent); - bool eventFilter(QObject *pObj, QEvent *pEvent); + ~WIntegralSpinBox() override; + + void wheelEvent(QWheelEvent* pEvent) override; + bool eventFilter(QObject* pObj, QEvent* pEvent) override; }; #endif // WINTEGRALSPINBOX_H