diff options
Diffstat (limited to 'src/opengl/qglpixelbuffer.h')
-rw-r--r-- | src/opengl/qglpixelbuffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qglpixelbuffer.h b/src/opengl/qglpixelbuffer.h index 0f0110da96..2aad76b002 100644 --- a/src/opengl/qglpixelbuffer.h +++ b/src/opengl/qglpixelbuffer.h @@ -47,9 +47,9 @@ class Q_OPENGL_EXPORT QGLPixelBuffer : public QPaintDevice Q_DECLARE_PRIVATE(QGLPixelBuffer) public: QGLPixelBuffer(const QSize &size, const QGLFormat &format = QGLFormat::defaultFormat(), - QGLWidget *shareWidget = 0); + QGLWidget *shareWidget = Q_NULLPTR); QGLPixelBuffer(int width, int height, const QGLFormat &format = QGLFormat::defaultFormat(), - QGLWidget *shareWidget = 0); + QGLWidget *shareWidget = Q_NULLPTR); virtual ~QGLPixelBuffer(); bool isValid() const; |