diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ff2be365..8e0ec8397 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,8 +14,8 @@ find_package(Qt5 5.2 REQUIRED COMPONENTS Quick) find_package(KF5 REQUIRED COMPONENTS I18n ConfigWidgets DBusAddons) find_package(KF5DocTools) find_package(Qca-qt5 2.1.0 REQUIRED) -find_package(TelepathyQt5 0.9.5) -find_package(TelepathyQt5Service 0.9.7) +# find_package(TelepathyQt5 0.9.5) +# find_package(TelepathyQt5Service 0.9.7) if (TelepathyQt5_FOUND AND TelepathyQt5Service_FOUND) add_definitions(-DHAVE_TELEPATHY) endif() diff --git a/core/backends/lan/landevicelink.cpp b/core/backends/lan/landevicelink.cpp index bdc6e4226..d8fe1471f 100644 --- a/core/backends/lan/landevicelink.cpp +++ b/core/backends/lan/landevicelink.cpp @@ -134,12 +134,11 @@ void LanDeviceLink::userRequestsUnpair() void LanDeviceLink::setPairStatus(PairStatus status) { + DeviceLink::setPairStatus(status); if (status == Paired) { Q_ASSERT(KdeConnectConfig::instance()->trustedDevices().contains(deviceId())); Q_ASSERT(!mSocketLineReader->peerCertificate().isNull()); KdeConnectConfig::instance()->setDeviceProperty(deviceId(), "certificate", mSocketLineReader->peerCertificate().toPem()); } - - DeviceLink::setPairStatus(status); }