summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edmundson <kde@davidedmundson.co.uk>2014-04-12 01:07:11 +0200
committerDavid Edmundson <kde@davidedmundson.co.uk>2014-04-12 01:07:11 +0200
commit606473d3242af8c773bc145f1402a6fd12fd3f12 (patch)
tree8d676c9afe6759d3417af1e7064a3099059a8f4e
parente092df89362aedc498b9b00393ad52294ec2310a (diff)
Fix build
-rw-r--r--TelepathyQt/account.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/TelepathyQt/account.cpp b/TelepathyQt/account.cpp
index 1cbd4cf3..8b177d97 100644
--- a/TelepathyQt/account.cpp
+++ b/TelepathyQt/account.cpp
@@ -590,10 +590,7 @@ Account::Private::Private(Account *parent, const ConnectionFactoryConstPtr &conn
coreFinished(false),
connectionStatus(ConnectionStatusDisconnected),
connectionStatusReason(ConnectionStatusReasonNoneSpecified),
- usingConnectionCaps(false),
- dispatcherInterface(new Client::ChannelDispatcherInterface(parent->dbusConnection(),
- TP_QT_CHANNEL_DISPATCHER_BUS_NAME,
- TP_QT_CHANNEL_DISPATCHER_OBJECT_PATH))
+ usingConnectionCaps(false)
{
// FIXME: QRegExp probably isn't the most efficient possible way to parse
// this :-)
@@ -3510,7 +3507,7 @@ Client::AccountInterface *Account::baseInterface() const
*/
Client::ChannelDispatcherInterface *Account::dispatcherInterface() const
{
- return mPriv->dispatcherInterface;
+ return mPriv->dispatcherContext->iface;
}
/**** Private ****/