From 0809e33118b0962900f1a12b7e8fb6da725a9a7c Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Mon, 23 Nov 2015 12:39:25 +0100 Subject: [PATCH] Fix compilation with newer (and older, i.e. last relased) telepathy-qt versions --- telepathy-cm/connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telepathy-cm/connection.cpp b/telepathy-cm/connection.cpp index e5c0a9ebd..22a5985a7 100644 --- a/telepathy-cm/connection.cpp +++ b/telepathy-cm/connection.cpp @@ -46,7 +46,7 @@ ConnectConnection::ConnectConnection(const QDBusConnection &dbusConnection, cons Tp::BaseConnection(dbusConnection, cmName, protocolName, parameters) { /* Connection.Interface.Contacts */ - contactsIface = Tp::BaseConnectionContactsInterface::create(this); + contactsIface = Tp::BaseConnectionContactsInterface::create(); contactsIface->setGetContactAttributesCallback(Tp::memFun(this, &ConnectConnection::getContactAttributes)); contactsIface->setContactAttributeInterfaces(QStringList() << TP_QT_IFACE_CONNECTION