diff options
Diffstat (limited to 'examples/opengl/hellowindow/hellowindow.h')
-rw-r--r-- | examples/opengl/hellowindow/hellowindow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/hellowindow/hellowindow.h b/examples/opengl/hellowindow/hellowindow.h index 0a88a0d75e..ea59b3f127 100644 --- a/examples/opengl/hellowindow/hellowindow.h +++ b/examples/opengl/hellowindow/hellowindow.h @@ -55,7 +55,7 @@ class Renderer : public QObject { Q_OBJECT public: - Renderer(const QSurfaceFormat &format, Renderer *share = 0, QScreen *screen = 0); + explicit Renderer(const QSurfaceFormat &format, Renderer *share = 0, QScreen *screen = 0); QSurfaceFormat format() const { return m_format; } |