Do not error if we try to request pair again
This commit is contained in:
parent
5f0173f469
commit
f0a96a3ab9
1 changed files with 0 additions and 3 deletions
|
@ -75,9 +75,6 @@ bool LanPairingHandler::requestPairing()
|
||||||
case Paired:
|
case Paired:
|
||||||
Q_EMIT pairingError(i18n("%1: Already paired", deviceLink()->name()));
|
Q_EMIT pairingError(i18n("%1: Already paired", deviceLink()->name()));
|
||||||
return false;
|
return false;
|
||||||
case Requested:
|
|
||||||
Q_EMIT pairingError(i18n("%1: Pairing already requested for this device", deviceLink()->name()));
|
|
||||||
return false;
|
|
||||||
case RequestedByPeer:
|
case RequestedByPeer:
|
||||||
qCDebug(KDECONNECT_CORE) << deviceLink()->name() << " : Pairing already started by the other end, accepting their request.";
|
qCDebug(KDECONNECT_CORE) << deviceLink()->name() << " : Pairing already started by the other end, accepting their request.";
|
||||||
acceptPairing();
|
acceptPairing();
|
||||||
|
|
Loading…
Reference in a new issue