Wrong order, condition was always false.
This commit is contained in:
parent
ba17222da5
commit
12a3027be6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue