diff options
Diffstat (limited to 'src/gui/painting/qprinterinfo.h')
-rw-r--r-- | src/gui/painting/qprinterinfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/painting/qprinterinfo.h b/src/gui/painting/qprinterinfo.h index 162c729..2467fc6 100644 --- a/src/gui/painting/qprinterinfo.h +++ b/src/gui/painting/qprinterinfo.h @@ -53,6 +53,7 @@ QT_MODULE(Gui) #ifndef QT_NO_PRINTER class QPrinterInfoPrivate; +class QPrinterInfoPrivateDeleter; class Q_GUI_EXPORT QPrinterInfo { Q_DECLARE_PRIVATE(QPrinterInfo) @@ -76,7 +77,7 @@ public: private: QPrinterInfo(const QString& name); - QPrinterInfoPrivate* d_ptr; + QScopedPointer<QPrinterInfoPrivate, QPrinterInfoPrivateDeleter> d_ptr; }; #endif // QT_NO_PRINTER |