summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/opengl/hellowindow/hellowindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/opengl/hellowindow/hellowindow.cpp b/examples/opengl/hellowindow/hellowindow.cpp
index 50cf8b0453..a88fcf1edb 100644
--- a/examples/opengl/hellowindow/hellowindow.cpp
+++ b/examples/opengl/hellowindow/hellowindow.cpp
@@ -34,9 +34,8 @@ HelloWindow::HelloWindow(Renderer *renderer)
create();
QTimer *timer = new QTimer(this);
- timer->start(10);
-
connect(timer, SIGNAL(timeout()), this, SLOT(render()));
+ timer->start(10);
updateColor();
}