summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglpixelbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qglpixelbuffer.h')
-rw-r--r--src/opengl/qglpixelbuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qglpixelbuffer.h b/src/opengl/qglpixelbuffer.h
index 06894c0013..f8b57074d9 100644
--- a/src/opengl/qglpixelbuffer.h
+++ b/src/opengl/qglpixelbuffer.h
@@ -55,7 +55,7 @@ class QGLPixelBufferPrivate;
class Q_OPENGL_EXPORT QGLPixelBuffer : public QPaintDevice
{
- Q_DECLARE_PRIVATE(QGLPixelBuffer)
+ Q_DECLARE_SCOPED_PRIVATE(QGLPixelBuffer)
public:
QGLPixelBuffer(const QSize &size, const QGLFormat &format = QGLFormat::defaultFormat(),
QGLWidget *shareWidget = 0);