From 402564733fbb5834b25b198b22443f7cd18e3a03 Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Tue, 3 Sep 2013 19:14:33 +0200 Subject: [PATCH] Fixed too early assignment --- kded/device.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()) {