[Telepathy-commits] [telepathy-qt4/master] Connection: Update debug messages using nospace.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Tue Jan 27 05:43:30 PST 2009


---
 TelepathyQt4/Client/connection.cpp |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/TelepathyQt4/Client/connection.cpp b/TelepathyQt4/Client/connection.cpp
index 4fec4ee..e430c41 100644
--- a/TelepathyQt4/Client/connection.cpp
+++ b/TelepathyQt4/Client/connection.cpp
@@ -903,7 +903,7 @@ void Connection::gotStatus(QDBusPendingCallWatcher *watcher)
     QDBusPendingReply<uint> reply = *watcher;
 
     if (reply.isError()) {
-        warning().nospace() << "GetStatus() failed with" <<
+        warning().nospace() << "GetStatus() failed with " <<
             reply.error().name() << ":" << reply.error().message();
         invalidate(QLatin1String(TELEPATHY_ERROR_DISCONNECTED),
                 QString("ConnectionStatusReason = %1").arg(uint(mPriv->pendingStatusReason)));
@@ -965,9 +965,9 @@ void Connection::gotInterfaces(QDBusPendingCallWatcher *watcher)
         }
     }
     else {
-        warning().nospace() << "GetInterfaces() failed with" <<
+        warning().nospace() << "GetInterfaces() failed with " <<
             reply.error().name() << ":" << reply.error().message() <<
-            "- assuming no new interfaces";
+            " - assuming no new interfaces";
     }
 
     continueIntrospection();
@@ -992,7 +992,7 @@ void Connection::gotSimpleStatuses(QDBusPendingCallWatcher *watcher)
         mPriv->missingFeatures |= FeatureSelfPresence;
         debug() << "Adding FeatureSelfPresence to missing features";
 
-        warning().nospace() << "Getting simple presence statuses failed with" <<
+        warning().nospace() << "Getting simple presence statuses failed with " <<
             reply.error().name() << ":" << reply.error().message();
     }
 
@@ -1010,7 +1010,7 @@ void Connection::gotSelfPresence(QDBusPendingCallWatcher *watcher)
         debug() << "Got self presence:" << mPriv->selfPresence.type;
     }
     else {
-        warning().nospace() << "Getting self presence status failed with" <<
+        warning().nospace() << "Getting self presence status failed with " <<
             reply.error().name() << ":" << reply.error().message();
     }
 
@@ -1028,7 +1028,7 @@ void Connection::gotSelfHandle(QDBusPendingCallWatcher *watcher)
         debug() << "Got self handle" << mPriv->selfHandle;
     }
     else {
-        warning().nospace() << "Getting self handle failed with" <<
+        warning().nospace() << "Getting self handle failed with " <<
             reply.error().name() << ":" << reply.error().message();
     }
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list