diff options
author | Markku Luukkainen <markku.luukkainen@digia.com> | 2009-06-10 11:58:49 (GMT) |
---|---|---|
committer | Markku Luukkainen <markku.luukkainen@digia.com> | 2009-06-10 11:58:49 (GMT) |
commit | 1be834f942b9658733d0f69a8d10a35d3c4988cb (patch) | |
tree | 7873983d75ffc181afb192b3a0f77f921069b6ff /src/scripttools/debugging/qscriptdebuggerresponse.cpp | |
parent | c7ddb3e5801118fb23a42272c16c660ba3bdb570 (diff) | |
parent | 7604f8087f88171ef933d8ae08f501467e647338 (diff) | |
download | Qt-1be834f942b9658733d0f69a8d10a35d3c4988cb.zip Qt-1be834f942b9658733d0f69a8d10a35d3c4988cb.tar.gz Qt-1be834f942b9658733d0f69a8d10a35d3c4988cb.tar.bz2 |
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-public
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggerresponse.cpp')
-rw-r--r-- | src/scripttools/debugging/qscriptdebuggerresponse.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/scripttools/debugging/qscriptdebuggerresponse.cpp b/src/scripttools/debugging/qscriptdebuggerresponse.cpp index 82bfff2..bf24846 100644 --- a/src/scripttools/debugging/qscriptdebuggerresponse.cpp +++ b/src/scripttools/debugging/qscriptdebuggerresponse.cpp @@ -101,7 +101,6 @@ QScriptDebuggerResponse::QScriptDebuggerResponse(const QScriptDebuggerResponse & QScriptDebuggerResponse::~QScriptDebuggerResponse() { - delete d_ptr; } QScriptDebuggerResponse &QScriptDebuggerResponse::operator=(const QScriptDebuggerResponse &other) @@ -320,7 +319,7 @@ bool QScriptDebuggerResponse::operator!=(const QScriptDebuggerResponse &other) c */ QDataStream &operator<<(QDataStream &out, const QScriptDebuggerResponse &response) { - const QScriptDebuggerResponsePrivate *d = response.d_ptr; + const QScriptDebuggerResponsePrivate *d = response.d_ptr.data(); out << (quint32)d->error; out << d->result; out << d->async; @@ -336,7 +335,7 @@ QDataStream &operator<<(QDataStream &out, const QScriptDebuggerResponse &respons */ QDataStream &operator>>(QDataStream &in, QScriptDebuggerResponse &response) { - QScriptDebuggerResponsePrivate *d = response.d_ptr; + QScriptDebuggerResponsePrivate *d = response.d_ptr.data(); quint32 error; in >> error; |