[Telepathy-commits] [telepathy-qt4/master] Uh, don't screw up initializing the HoldHandles reply either

Olli Salli olli.salli at collabora.co.uk
Wed Jan 21 04:42:19 PST 2009


---
 TelepathyQt4/cli-pending-handles.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/TelepathyQt4/cli-pending-handles.cpp b/TelepathyQt4/cli-pending-handles.cpp
index f9ce0cb..8467cea 100644
--- a/TelepathyQt4/cli-pending-handles.cpp
+++ b/TelepathyQt4/cli-pending-handles.cpp
@@ -128,7 +128,7 @@ void PendingHandles::onCallFinished(QDBusPendingCallWatcher* watcher)
 
         connection()->handleRequestLanded(handleType());
     } else {
-        QDBusPendingReply<void> reply;
+        QDBusPendingReply<void> reply = *watcher;
 
         debug() << "Received reply to HoldHandles";
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list