[telepathy-qt4/master] ClientApproverAdaptor: Use the dbus qualified name to get the connection property.
George Kiagiadakis
kiagiadakis.george at gmail.com
Mon Jun 29 07:02:51 PDT 2009
Patch from George Kiagiadakis <kiagiadakis.george at gmail.com>.
Signed-off-by: Andre Moreira Magalhaes (andrunko) <andre.magalhaes at collabora.co.uk>
---
TelepathyQt4/client-registrar.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/TelepathyQt4/client-registrar.cpp b/TelepathyQt4/client-registrar.cpp
index 9ff3603..1eb9e15 100644
--- a/TelepathyQt4/client-registrar.cpp
+++ b/TelepathyQt4/client-registrar.cpp
@@ -171,7 +171,7 @@ void ClientApproverAdaptor::AddDispatchOperation(const Tp::ChannelDetailsList &c
const QDBusMessage &message)
{
QDBusObjectPath connectionPath = qdbus_cast<QDBusObjectPath>(
- properties.value("Connection"));
+ properties.value(TELEPATHY_INTERFACE_CHANNEL_DISPATCH_OPERATION ".Connection"));
debug() << "addDispatchOperation: connection:" << connectionPath.path();
QString connectionBusName = connectionPath.path().mid(1).replace('/', '.');
ConnectionPtr connection = Connection::create(mBus, connectionBusName,
--
1.5.6.5
More information about the telepathy-commits
mailing list