diff options
Diffstat (limited to 'src/gui/painting/qprinter.h')
-rw-r--r-- | src/gui/painting/qprinter.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/painting/qprinter.h b/src/gui/painting/qprinter.h index 90ed20d..25c2f0c 100644 --- a/src/gui/painting/qprinter.h +++ b/src/gui/painting/qprinter.h @@ -42,8 +42,9 @@ #ifndef QPRINTER_H #define QPRINTER_H -#include <QtGui/qpaintdevice.h> #include <QtCore/qstring.h> +#include <QtCore/qscopedpointer.h> +#include <QtGui/qpaintdevice.h> QT_BEGIN_HEADER @@ -288,7 +289,7 @@ private: Q_DISABLE_COPY(QPrinter) - QPrinterPrivate *d_ptr; + QScopedPointer<QPrinterPrivate> d_ptr; friend class QPrintDialogPrivate; friend class QAbstractPrintDialog; |