[Telepathy-commits] [telepathy-qt4/master] Account: Proper get serviceName from objectPath when building connection.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Wed Feb 4 09:45:47 PST 2009
---
TelepathyQt4/Client/account.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/TelepathyQt4/Client/account.cpp b/TelepathyQt4/Client/account.cpp
index 6f8b117..e5563b2 100644
--- a/TelepathyQt4/Client/account.cpp
+++ b/TelepathyQt4/Client/account.cpp
@@ -464,7 +464,7 @@ Connection *Account::connection() const
return 0;
}
QString objectPath = mPriv->connectionObjectPath;
- QString serviceName = objectPath.replace('/', '.');
+ QString serviceName = objectPath.mid(1).replace('/', '.');
return new Connection(dbusConnection(), serviceName, objectPath);
}
--
1.5.6.5
More information about the telepathy-commits
mailing list