diff --git a/kded/device.cpp b/kded/device.cpp index a760e9e90..a6f006057 100644 --- a/kded/device.cpp +++ b/kded/device.cpp @@ -316,8 +316,6 @@ void Device::privateReceivedPackage(const NetworkPackage& np) qDebug() << "Unpair request"; - m_pairStatus = Device::NotPaired; - if (m_pairStatus == PairRequested) { pairingTimer.stop(); Q_EMIT pairingFailed(i18n("Canceled by other peer")); @@ -327,6 +325,8 @@ void Device::privateReceivedPackage(const NetworkPackage& np) reloadPlugins(); } + m_pairStatus = Device::NotPaired; + } } else if (!isPaired()) {