[Telepathy-commits] [telepathy-qt4/master] Actually initialize the RequestHandles QDBusPendingReply in PendingHandles

Olli Salli olli.salli at collabora.co.uk
Wed Jan 21 04:42:17 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 b9a4ca5..f9ce0cb 100644
--- a/TelepathyQt4/cli-pending-handles.cpp
+++ b/TelepathyQt4/cli-pending-handles.cpp
@@ -114,7 +114,7 @@ void PendingHandles::onCallFinished(QDBusPendingCallWatcher* watcher)
 {
     // Thanks QDBus for this the need for this error-handling code duplication
     if (mPriv->isRequest) {
-        QDBusPendingReply<UIntList> reply;
+        QDBusPendingReply<UIntList> reply = *watcher;
 
         debug() << "Received reply to RequestHandles";
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list