Fix build
This commit is contained in:
parent
26b0ec8b98
commit
77e92262fe
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ void Daemon::onNewDeviceLink(const NetworkPackage& identityPackage, DeviceLink*
|
|||
|
||||
//we discard the connections that we created but it's not paired.
|
||||
//we keep the remotely initiated ones, since the remotes require them
|
||||
if (!isDiscoveringDevices() && !device->isPaired() && dl->connectionSource() == DeviceLink::ConnectionStarted::Locally) {
|
||||
if (!isDiscoveryEnabled() && !device->isPaired() && dl->connectionSource() == DeviceLink::ConnectionStarted::Locally) {
|
||||
dl->deleteLater();
|
||||
} else {
|
||||
connect(device, SIGNAL(reachableStatusChanged()), this, SLOT(onDeviceStatusChanged()));
|
||||
|
|
Loading…
Reference in a new issue