Wrong order, condition was always false.

This commit is contained in:
Albert Vaca 2017-02-05 16:07:56 +01:00
parent ba17222da5
commit 12a3027be6

View file

@ -65,10 +65,10 @@ void LanPairingHandler::packageReceived(const NetworkPackage& np)
qCDebug(KDECONNECT_CORE) << "Unpair request";
setInternalPairStatus(NotPaired);
if (isPairRequested()) {
Q_EMIT pairingError(i18n("Canceled by other peer"));
}
setInternalPairStatus(NotPaired);
}
}