summaryrefslogtreecommitdiffstats
path: root/examples/opengl/hellowindow/hellowindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/hellowindow/hellowindow.h')
-rw-r--r--examples/opengl/hellowindow/hellowindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/opengl/hellowindow/hellowindow.h b/examples/opengl/hellowindow/hellowindow.h
index a3e9fc5f96..adb85c1a6e 100644
--- a/examples/opengl/hellowindow/hellowindow.h
+++ b/examples/opengl/hellowindow/hellowindow.h
@@ -49,6 +49,7 @@
QT_BEGIN_NAMESPACE
class QOpenGLContext;
+class QTimer;
QT_END_NAMESPACE
class Renderer : public QObject
@@ -107,4 +108,5 @@ private:
int m_colorIndex;
QColor m_color;
const QSharedPointer<Renderer> m_renderer;
+ QTimer *m_timer;
};