summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglpaintdevice_qws_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qglpaintdevice_qws_p.h')
-rw-r--r--src/opengl/qglpaintdevice_qws_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/opengl/qglpaintdevice_qws_p.h b/src/opengl/qglpaintdevice_qws_p.h
index 369de7f408..a471b1b20b 100644
--- a/src/opengl/qglpaintdevice_qws_p.h
+++ b/src/opengl/qglpaintdevice_qws_p.h
@@ -53,6 +53,7 @@
// We mean it.
//
+#include <QtCore/qscopedpointer.h>
#include <QPaintDevice>
QT_BEGIN_NAMESPACE
@@ -76,7 +77,7 @@ public:
private:
friend class QWSGLWindowSurface;
- QWSGLPaintDevicePrivate *d_ptr;
+ QScopedPointer<QWSGLPaintDevicePrivate> d_ptr;
};