diff options
Diffstat (limited to 'src/svg/qsvggenerator.h')
-rw-r--r-- | src/svg/qsvggenerator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/svg/qsvggenerator.h b/src/svg/qsvggenerator.h index 0b44834..5b60a05 100644 --- a/src/svg/qsvggenerator.h +++ b/src/svg/qsvggenerator.h @@ -49,6 +49,7 @@ #include <QtCore/qnamespace.h> #include <QtCore/qiodevice.h> #include <QtCore/qobjectdefs.h> +#include <QtCore/qscopedpointer.h> QT_BEGIN_HEADER @@ -100,7 +101,7 @@ protected: int metric(QPaintDevice::PaintDeviceMetric metric) const; private: - QSvgGeneratorPrivate *d_ptr; + QScopedPointer<QSvgGeneratorPrivate> d_ptr; }; QT_END_NAMESPACE |