summaryrefslogtreecommitdiffstats
path: root/src/network/access/qhttp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/access/qhttp.h')
-rw-r--r--src/network/access/qhttp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/access/qhttp.h b/src/network/access/qhttp.h
index 71aa551..4bebd40 100644
--- a/src/network/access/qhttp.h
+++ b/src/network/access/qhttp.h
@@ -46,6 +46,7 @@
#include <QtCore/qstringlist.h>
#include <QtCore/qmap.h>
#include <QtCore/qpair.h>
+#include <QtCore/qscopedpointer.h>
QT_BEGIN_HEADER
@@ -108,7 +109,7 @@ protected:
QHttpHeader(QHttpHeaderPrivate &dd, const QString &str = QString());
QHttpHeader(QHttpHeaderPrivate &dd, const QHttpHeader &header);
- QHttpHeaderPrivate *d_ptr;
+ QScopedPointer<QHttpHeaderPrivate> d_ptr;
private:
Q_DECLARE_PRIVATE(QHttpHeader)