diff options
Diffstat (limited to 'src/script/qscriptengineagent.h')
-rw-r--r-- | src/script/qscriptengineagent.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/qscriptengineagent.h b/src/script/qscriptengineagent.h index 7b3c30d..e71560c 100644 --- a/src/script/qscriptengineagent.h +++ b/src/script/qscriptengineagent.h @@ -47,6 +47,7 @@ #ifndef QT_NO_SCRIPT #include <QtCore/qvariant.h> +#include <QtCore/qscopedpointer.h> QT_BEGIN_HEADER @@ -96,7 +97,7 @@ public: protected: QScriptEngineAgent(QScriptEngineAgentPrivate &dd, QScriptEngine *engine); - QScriptEngineAgentPrivate *d_ptr; + QScopedPointer<QScriptEngineAgentPrivate> d_ptr; private: Q_DECLARE_PRIVATE(QScriptEngineAgent) |