summaryrefslogtreecommitdiffstats
path: root/src/script/qscriptcontextinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/qscriptcontextinfo.h')
-rw-r--r--src/script/qscriptcontextinfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/qscriptcontextinfo.h b/src/script/qscriptcontextinfo.h
index c0c5090..3540060 100644
--- a/src/script/qscriptcontextinfo.h
+++ b/src/script/qscriptcontextinfo.h
@@ -48,6 +48,7 @@
#include <QtCore/qlist.h>
#include <QtCore/qstringlist.h>
+#include <QtCore/qscopedpointer.h>
QT_BEGIN_HEADER
@@ -104,7 +105,7 @@ public:
bool operator!=(const QScriptContextInfo &other) const;
private:
- QScriptContextInfoPrivate *d_ptr;
+ QScopedSharedPointer<QScriptContextInfoPrivate> d_ptr;
Q_DECLARE_PRIVATE(QScriptContextInfo)
};