summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qprinter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/painting/qprinter.h')
-rw-r--r--src/gui/painting/qprinter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/painting/qprinter.h b/src/gui/painting/qprinter.h
index 2e31898..c52811d 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;