From b4e61678a4e001e9d087d215994fd50c3baf8137 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Tue, 25 Dec 2018 00:35:08 +0100 Subject: [PATCH] Remove unneeded variable --- core/backends/devicelink.cpp | 1 - core/backends/devicelink.h | 3 --- 2 files changed, 4 deletions(-) diff --git a/core/backends/devicelink.cpp b/core/backends/devicelink.cpp index f59312cf9..76607eea3 100644 --- a/core/backends/devicelink.cpp +++ b/core/backends/devicelink.cpp @@ -24,7 +24,6 @@ DeviceLink::DeviceLink(const QString& deviceId, LinkProvider* parent) : QObject(parent) - , m_privateKey(KdeConnectConfig::instance()->privateKey()) , m_deviceId(deviceId) , m_linkProvider(parent) , m_pairStatus(NotPaired) diff --git a/core/backends/devicelink.h b/core/backends/devicelink.h index 752d797a0..945a7933b 100644 --- a/core/backends/devicelink.h +++ b/core/backends/devicelink.h @@ -67,9 +67,6 @@ Q_SIGNALS: void pairingError(const QString& error); void receivedPacket(const NetworkPacket& np); -protected: - QCA::PrivateKey m_privateKey; - private: const QString m_deviceId; LinkProvider* m_linkProvider;