summaryrefslogtreecommitdiffstats
path: root/examples/opengl/threadedqopenglwidget/glwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/threadedqopenglwidget/glwidget.h')
-rw-r--r--examples/opengl/threadedqopenglwidget/glwidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/threadedqopenglwidget/glwidget.h b/examples/opengl/threadedqopenglwidget/glwidget.h
index 8319faf322b..c063e846dca 100644
--- a/examples/opengl/threadedqopenglwidget/glwidget.h
+++ b/examples/opengl/threadedqopenglwidget/glwidget.h
@@ -100,7 +100,7 @@ class GLWidget : public QOpenGLWidget
{
Q_OBJECT
public:
- GLWidget(QWidget *parent);
+ explicit GLWidget(QWidget *parent = 0);
~GLWidget();
protected: