Make it build with api changes

pull/182/head
Michael Zanetti 2019-11-04 14:39:06 +01:00
parent be230d9a3b
commit 56c173cb63
2 changed files with 2 additions and 2 deletions

2
debian/control vendored
View File

@ -4,7 +4,7 @@ Priority: options
Maintainer: Michael Zanetti <michael.zanetti@guh.io>
Build-depends: libboblight-dev,
debhelper (>= 0.0.0),
libnymea1-dev,
libnymea1-dev (>= 0.17),
libnymea-mqtt-dev,
libqt5serialport5-dev,
libqt5websockets5-dev,

View File

@ -146,7 +146,7 @@ void DevicePluginNetworkDetector::deviceAddressChanged(const QString &address)
Device *device = m_monitors.value(monitor);
if (device->paramValue(networkDeviceDeviceAddressParamTypeId).toString() != address) {
qCDebug(dcNetworkDetector()) << "Device" << device->name() << device->paramValue(networkDeviceDeviceMacAddressParamTypeId).toString() << "changed IP address to" << address;
device->setParamValue(networkDeviceDeviceAddressParamTypeId.toString(), address);
device->setParamValue(networkDeviceDeviceAddressParamTypeId, address);
}
}