diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2012-04-19 09:41:48 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-20 08:14:22 +0200 |
commit | 528cb10d5395692d9dd1975e51faca636d87c9e7 (patch) | |
tree | 2f7a65cd7b43c97acc7b834ae9ef34ebf92d68f8 /examples/opengl/hellowindow/hellowindow.h | |
parent | 408f3fb2003fca6c2abf4414cef95f05cb1de0a0 (diff) |
Made hellowindow example respect the expose event.
The expose event is sent when the window can start rendering.
Change-Id: Ifdfb01a107e3bf665fb7be65802cdaabea4c5a34
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
Diffstat (limited to 'examples/opengl/hellowindow/hellowindow.h')
-rw-r--r-- | examples/opengl/hellowindow/hellowindow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/opengl/hellowindow/hellowindow.h b/examples/opengl/hellowindow/hellowindow.h index 91267a8ba1..8f294b5ae3 100644 --- a/examples/opengl/hellowindow/hellowindow.h +++ b/examples/opengl/hellowindow/hellowindow.h @@ -92,6 +92,8 @@ public: void updateColor(); + void exposeEvent(QExposeEvent *event); + signals: void needRender(QSurface *surface, const QColor &color, const QSize &viewSize); |