Fix compilation with newer (and older, i.e. last relased) telepathy-qt versions

This commit is contained in:
Aleix Pol 2015-11-23 12:39:25 +01:00
parent 7558fdd93c
commit 0809e33118

View file

@ -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