summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlparserstatus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlparserstatus.cpp')
-rw-r--r--src/declarative/qml/qmlparserstatus.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/declarative/qml/qmlparserstatus.cpp b/src/declarative/qml/qmlparserstatus.cpp
index 71b7adf..fceac05 100644
--- a/src/declarative/qml/qmlparserstatus.cpp
+++ b/src/declarative/qml/qmlparserstatus.cpp
@@ -48,11 +48,17 @@ QT_BEGIN_NAMESPACE
\brief The QmlParserStatus class provides updates on the parser state.
*/
-/*!
- Destroys the parser status instance.
-*/
+/*! \internal */
+QmlParserStatus::QmlParserStatus()
+: d(0)
+{
+}
+
+/*! \internal */
QmlParserStatus::~QmlParserStatus()
{
+ if(d)
+ (*d) = 0;
}
/*!