summaryrefslogtreecommitdiffstats
path: root/examples/widgets/animation/stickman/graphicsview.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/animation/stickman/graphicsview.h')
-rw-r--r--examples/widgets/animation/stickman/graphicsview.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/animation/stickman/graphicsview.h b/examples/widgets/animation/stickman/graphicsview.h
index 60abb6448f..cdccbbfbd3 100644
--- a/examples/widgets/animation/stickman/graphicsview.h
+++ b/examples/widgets/animation/stickman/graphicsview.h
@@ -51,8 +51,8 @@ public:
GraphicsView(QWidget *parent = 0);
protected:
- virtual void resizeEvent(QResizeEvent *event);
- void keyPressEvent(QKeyEvent *);
+ virtual void resizeEvent(QResizeEvent *event) Q_DECL_OVERRIDE;
+ void keyPressEvent(QKeyEvent *) Q_DECL_OVERRIDE;
signals:
void keyPressed(int key);