telepathy-qt: dbus-tubes: Report the D-Bus event that causes logic to be run before running the logic .

Dario Freddi drf at kemper.freedesktop.org
Tue Jul 3 15:08:40 PDT 2012


Module: telepathy-qt
Branch: master
Commit: 4f5bf8fa028626755f4405af63a78dfa6d5cfa21
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=4f5bf8fa028626755f4405af63a78dfa6d5cfa21

Author: Dario Freddi <dario.freddi at collabora.co.uk>
Date:   Thu Jun  9 16:29:31 2011 +0200

dbus-tubes: Report the D-Bus event that causes logic to be run before running the logic.

That way there's a hint that we're crashing in the response handling if the extraction is buggy.

---

 TelepathyQt/dbus-tube-channel.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/TelepathyQt/dbus-tube-channel.cpp b/TelepathyQt/dbus-tube-channel.cpp
index 66505d7..496e169 100644
--- a/TelepathyQt/dbus-tube-channel.cpp
+++ b/TelepathyQt/dbus-tube-channel.cpp
@@ -337,8 +337,8 @@ void DBusTubeChannel::gotDBusTubeProperties(QDBusPendingCallWatcher *watcher)
 
     if (!reply.isError()) {
         QVariantMap props = reply.value();
-        mPriv->extractProperties(props);
         debug() << "Got reply to Properties::GetAll(DBusTubeChannel)";
+        mPriv->extractProperties(props);
         mPriv->readinessHelper->setIntrospectCompleted(DBusTubeChannel::FeatureDBusTube, true);
     } else {
         warning().nospace() << "Properties::GetAll(DBusTubeChannel) failed "



More information about the telepathy-commits mailing list