summaryrefslogtreecommitdiffstats
path: root/examples/opengl/hellowindow/hellowindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/hellowindow/hellowindow.cpp')
-rw-r--r--examples/opengl/hellowindow/hellowindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/opengl/hellowindow/hellowindow.cpp b/examples/opengl/hellowindow/hellowindow.cpp
index 380ddcc702..b7b3d2b10e 100644
--- a/examples/opengl/hellowindow/hellowindow.cpp
+++ b/examples/opengl/hellowindow/hellowindow.cpp
@@ -80,6 +80,8 @@ HelloWindow::HelloWindow(Renderer *renderer)
void HelloWindow::exposeEvent(QExposeEvent *event)
{
+ Q_UNUSED(event);
+
render();
QTimer *timer = new QTimer(this);