summaryrefslogtreecommitdiffstats
path: root/examples/opengl/hellogl/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/hellogl/window.h')
-rw-r--r--examples/opengl/hellogl/window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/hellogl/window.h b/examples/opengl/hellogl/window.h
index 68862fbcfe..900e6b13fc 100644
--- a/examples/opengl/hellogl/window.h
+++ b/examples/opengl/hellogl/window.h
@@ -57,7 +57,7 @@ public:
Window();
protected:
- void keyPressEvent(QKeyEvent *event);
+ void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
private:
QSlider *createSlider();