summaryrefslogtreecommitdiffstats
path: root/examples/opengl
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@nokia.com>2012-05-18 14:47:00 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-18 21:25:18 +0200
commit9e13d169a4bb7e70473945734846e6fc71be8815 (patch)
treee2ae46584d055b36a73e6b9c22920bc228f0e4d4 /examples/opengl
parent91a5e272c55ef08b4360d5fd7d3b08fca0ff7b82 (diff)
Fixed unused parameter warning in hellowindow example.
Change-Id: I48ea19b5548a179d8116685fa481c4d1b3804bba Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
Diffstat (limited to 'examples/opengl')
-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);