Commit 75b8e247 authored by David Edmundson's avatar David Edmundson

Fix compilation on newer TpQt

parent 25d19fe9
......@@ -14,7 +14,7 @@ find_package(Qt5 5.2 REQUIRED COMPONENTS Quick)
find_package(KF5 REQUIRED COMPONENTS I18n ConfigWidgets DBusAddons IconThemes)
find_package(Qca-qt5 2.1.0 REQUIRED)
find_package(TelepathyQt5 0.9.5)
find_package(TelepathyQt5Service 0.9.5)
find_package(TelepathyQt5Service 0.9.7)
if (TelepathyQt5_FOUND)
add_definitions(-DHAVE_TELEPATHY)
endif()
......
......@@ -48,7 +48,7 @@ ConnectConnection::ConnectConnection(const QDBusConnection &dbusConnection, cons
qDebug() << "making new connection";
/* Connection.Interface.Contacts */
contactsIface = Tp::BaseConnectionContactsInterface::create();
contactsIface = Tp::BaseConnectionContactsInterface::create(this);
contactsIface->setGetContactAttributesCallback(Tp::memFun(this, &ConnectConnection::getContactAttributes));
contactsIface->setContactAttributeInterfaces(QStringList()
<< TP_QT_IFACE_CONNECTION
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment