Mercurial > hg > svgui
diff widgets/Fader.h @ 1414:fa986b91d77f
Merge from branch fix-static-analysis
author | Chris Cannam |
---|---|
date | Wed, 09 Jan 2019 15:24:51 +0000 |
parents | a18e78b9c78b |
children |
line wrap: on
line diff
--- a/widgets/Fader.h Wed Jan 09 14:41:52 2019 +0000 +++ b/widgets/Fader.h Wed Jan 09 15:24:51 2019 +0000 @@ -60,14 +60,14 @@ void mouseLeft(); protected: - virtual void mousePressEvent(QMouseEvent *ev); - virtual void mouseDoubleClickEvent(QMouseEvent *ev); - virtual void mouseMoveEvent(QMouseEvent *ev); - virtual void mouseReleaseEvent(QMouseEvent *ev); - virtual void wheelEvent( QWheelEvent *ev ); - virtual void paintEvent(QPaintEvent *ev); - virtual void enterEvent(QEvent *); - virtual void leaveEvent(QEvent *); + void mousePressEvent(QMouseEvent *ev) override; + void mouseDoubleClickEvent(QMouseEvent *ev) override; + void mouseMoveEvent(QMouseEvent *ev) override; + void mouseReleaseEvent(QMouseEvent *ev) override; + void wheelEvent( QWheelEvent *ev ) override; + void paintEvent(QPaintEvent *ev) override; + void enterEvent(QEvent *) override; + void leaveEvent(QEvent *) override; int getMaxX() const;