diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-04-06 16:15:00 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-04-06 16:24:00 (GMT) |
commit | d65d3becc292523f0962aac9d2bf7b96d9c47c04 (patch) | |
tree | f95c22be86a459e839c537ee172544350ef12e76 /doc/src/snippets | |
parent | 30f4ad046123449e53b8d4cf936300753df126ec (diff) | |
download | Qt-d65d3becc292523f0962aac9d2bf7b96d9c47c04.zip Qt-d65d3becc292523f0962aac9d2bf7b96d9c47c04.tar.gz Qt-d65d3becc292523f0962aac9d2bf7b96d9c47c04.tar.bz2 |
Doc: update the QDBusPendingCallWatcher example to show where to delete
Task-number: QTBUG-8865
Diffstat (limited to 'doc/src/snippets')
-rw-r--r-- | doc/src/snippets/code/src.qdbus.qdbuspendingcall.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/src/snippets/code/src.qdbus.qdbuspendingcall.cpp b/doc/src/snippets/code/src.qdbus.qdbuspendingcall.cpp index 94a9f68..2867bd5a 100644 --- a/doc/src/snippets/code/src.qdbus.qdbuspendingcall.cpp +++ b/doc/src/snippets/code/src.qdbus.qdbuspendingcall.cpp @@ -61,5 +61,6 @@ void MyClass::callFinishedSlot(QDBusPendingCallWatcher *call) QByteArray data = reply.argumentAt<1>(); showReply(text, data); } + call->deleteLater(); } //! [1] |