Mercurial > hg > svgui
diff widgets/LevelPanToolButton.h @ 1406:a18e78b9c78b fix-static-analysis
Use override throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 13:52:27 +0000 |
parents | 1589bc7528b7 |
children | 27ea5d61b402 |
line wrap: on
line diff
--- a/widgets/LevelPanToolButton.h Thu Nov 22 14:55:38 2018 +0000 +++ b/widgets/LevelPanToolButton.h Mon Nov 26 13:52:27 2018 +0000 @@ -67,11 +67,11 @@ void selfClicked(); protected: - virtual void paintEvent(QPaintEvent *); - virtual void enterEvent(QEvent *); - virtual void leaveEvent(QEvent *); - virtual void mousePressEvent(QMouseEvent *); - virtual void wheelEvent(QWheelEvent *e); + void paintEvent(QPaintEvent *) override; + void enterEvent(QEvent *) override; + void leaveEvent(QEvent *) override; + void mousePressEvent(QMouseEvent *) override; + void wheelEvent(QWheelEvent *e) override; LevelPanWidget *m_lpw; int m_pixels;