summaryrefslogtreecommitdiffstats
path: root/src/scripttools/debugging/qscriptstdmessagehandler_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripttools/debugging/qscriptstdmessagehandler_p.h')
-rw-r--r--src/scripttools/debugging/qscriptstdmessagehandler_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/scripttools/debugging/qscriptstdmessagehandler_p.h b/src/scripttools/debugging/qscriptstdmessagehandler_p.h
index 8b75f6a..06d680b 100644
--- a/src/scripttools/debugging/qscriptstdmessagehandler_p.h
+++ b/src/scripttools/debugging/qscriptstdmessagehandler_p.h
@@ -53,6 +53,8 @@
// We mean it.
//
+#include <QtCore/qscopedpointer.h>
+
#include "qscriptmessagehandlerinterface_p.h"
QT_BEGIN_NAMESPACE
@@ -71,7 +73,7 @@ public:
const QVariant &data = QVariant());
private:
- QScriptStdMessageHandlerPrivate *d_ptr;
+ QScopedPointer<QScriptStdMessageHandlerPrivate> d_ptr;
private:
Q_DECLARE_PRIVATE(QScriptStdMessageHandler)