summaryrefslogtreecommitdiffstats
path: root/profile-widget/profilewidget2.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-08 02:23:37 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-08 20:58:09 -0800
commit98e8a04d01caa90e5384654fb247b2778f6760c9 (patch)
tree328174260c99b92121d1ccc788de07f07523e02c /profile-widget/profilewidget2.h
parent16320bb580798b1a61813409795f27544861526e (diff)
downloadsubsurface-98e8a04d01caa90e5384654fb247b2778f6760c9.tar.gz
Silence warnings in Profilewidget2
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget/profilewidget2.h')
-rw-r--r--profile-widget/profilewidget2.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h
index 438523340..5e05b14f8 100644
--- a/profile-widget/profilewidget2.h
+++ b/profile-widget/profilewidget2.h
@@ -141,14 +141,14 @@ slots: // Necessary to call from QAction's signals.
protected:
virtual ~ProfileWidget2();
- virtual void resizeEvent(QResizeEvent *event);
+ void resizeEvent(QResizeEvent *event) Q_DECL_OVERRIDE;
#ifndef SUBSURFACE_MOBILE
- virtual void wheelEvent(QWheelEvent *event);
- virtual void mouseMoveEvent(QMouseEvent *event);
- virtual void contextMenuEvent(QContextMenuEvent *event);
- virtual void mouseDoubleClickEvent(QMouseEvent *event);
- virtual void mousePressEvent(QMouseEvent *event);
- virtual void mouseReleaseEvent(QMouseEvent *event);
+ void wheelEvent(QWheelEvent *event) Q_DECL_OVERRIDE;
+ void mouseMoveEvent(QMouseEvent *event) Q_DECL_OVERRIDE;
+ void contextMenuEvent(QContextMenuEvent *event) Q_DECL_OVERRIDE;
+ void mouseDoubleClickEvent(QMouseEvent *event) Q_DECL_OVERRIDE;
+ void mousePressEvent(QMouseEvent *event) Q_DECL_OVERRIDE;
+ void mouseReleaseEvent(QMouseEvent *event) Q_DECL_OVERRIDE;
#endif
void dropEvent(QDropEvent *event) Q_DECL_OVERRIDE;
void dragEnterEvent(QDragEnterEvent *event) Q_DECL_OVERRIDE;