fix connection
This commit is contained in:
parent
c01ba09b33
commit
448d18e28b
@ -399,7 +399,7 @@ void DevicePluginAwattar::processPumpSearchData(const QByteArray &data)
|
|||||||
|
|
||||||
qCDebug(dcAwattar) << "New heat pump found at" << pumpAddress.toString();
|
qCDebug(dcAwattar) << "New heat pump found at" << pumpAddress.toString();
|
||||||
QPointer<HeatPump> pump = new HeatPump(pumpAddress, this);
|
QPointer<HeatPump> pump = new HeatPump(pumpAddress, this);
|
||||||
connect(pump, &HeatPump::reachableChanged, this, &DevicePluginAwattar::onHeatPumpReachableChanged);
|
connect(pump.data(), SIGNAL(reachableChanged()), this, SLOT(onHeatPumpReachableChanged()));
|
||||||
m_heatPumps.append(pump);
|
m_heatPumps.append(pump);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user