Commit 40256473 authored by Albert Vaca Cintora's avatar Albert Vaca Cintora

Fixed too early assignment

parent e59b94f0
......@@ -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()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment