summaryrefslogtreecommitdiffstats
path: root/src/scripttools/debugging/qscriptvalueproperty_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripttools/debugging/qscriptvalueproperty_p.h')
-rw-r--r--src/scripttools/debugging/qscriptvalueproperty_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scripttools/debugging/qscriptvalueproperty_p.h b/src/scripttools/debugging/qscriptvalueproperty_p.h
index 938ab83..ca6980f 100644
--- a/src/scripttools/debugging/qscriptvalueproperty_p.h
+++ b/src/scripttools/debugging/qscriptvalueproperty_p.h
@@ -55,6 +55,7 @@
#include <QtCore/qobjectdefs.h>
#include <QtCore/qlist.h>
+#include <QtCore/qscopedpointer.h>
#include <QtScript/qscriptvalue.h>
QT_BEGIN_NAMESPACE
@@ -81,7 +82,7 @@ public:
bool isValid() const;
private:
- QScriptValuePropertyPrivate *d_ptr;
+ QScopedSharedPointer<QScriptValuePropertyPrivate> d_ptr;
Q_DECLARE_PRIVATE(QScriptValueProperty)
};