[telepathy-qt4/master] Tp::Account: fix debug message for ConnectsAutomatically

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Apr 22 05:34:33 PDT 2009


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

diff --git a/TelepathyQt4/account.cpp b/TelepathyQt4/account.cpp
index 4afa1a7..9660168 100644
--- a/TelepathyQt4/account.cpp
+++ b/TelepathyQt4/account.cpp
@@ -852,7 +852,7 @@ void Account::Private::updateProperties(const QVariantMap &props)
                 qdbus_cast<bool>(props["ConnectAutomatically"])) {
         connectsAutomatically =
                 qdbus_cast<bool>(props["ConnectAutomatically"]);
-        debug() << " Connects Automatically:" << (enabled ? "true" : "false");
+        debug() << " Connects Automatically:" << (connectsAutomatically ? "true" : "false");
         emit parent->connectsAutomaticallyPropertyChanged(connectsAutomatically);
     }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list