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/qscriptdebuggercommand.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/qscriptdebuggercommand.cpp')
-rw-r--r-- | src/scripttools/debugging/qscriptdebuggercommand.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/scripttools/debugging/qscriptdebuggercommand.cpp b/src/scripttools/debugging/qscriptdebuggercommand.cpp index c40bfc4..98bb3b3 100644 --- a/src/scripttools/debugging/qscriptdebuggercommand.cpp +++ b/src/scripttools/debugging/qscriptdebuggercommand.cpp @@ -118,7 +118,6 @@ QScriptDebuggerCommand::QScriptDebuggerCommand(const QScriptDebuggerCommand &oth */ QScriptDebuggerCommand::~QScriptDebuggerCommand() { - delete d_ptr; } /*! @@ -646,7 +645,7 @@ QScriptDebuggerCommand QScriptDebuggerCommand::clearExceptionsCommand() */ QDataStream &operator<<(QDataStream &out, const QScriptDebuggerCommand &command) { - const QScriptDebuggerCommandPrivate *d = command.d_ptr; + const QScriptDebuggerCommandPrivate *d = command.d_ptr.data(); out << (quint32)d->type; out << (qint32)d->attributes.size(); QHash<QScriptDebuggerCommand::Attribute, QVariant>::const_iterator it; @@ -666,7 +665,7 @@ QDataStream &operator<<(QDataStream &out, const QScriptDebuggerCommand &command) */ QDataStream &operator>>(QDataStream &in, QScriptDebuggerCommand &command) { - QScriptDebuggerCommandPrivate *d = command.d_ptr; + QScriptDebuggerCommandPrivate *d = command.d_ptr.data(); quint32 type; in >> type; |