Fix compilation on newer TpQt
This commit is contained in:
parent
25d19fe9ca
commit
75b8e24727
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue