fix connection

This commit is contained in:
Simon Stürz 2016-03-13 11:42:46 +01:00 committed by Michael Zanetti
parent c01ba09b33
commit 448d18e28b

View File

@ -399,7 +399,7 @@ void DevicePluginAwattar::processPumpSearchData(const QByteArray &data)
qCDebug(dcAwattar) << "New heat pump found at" << pumpAddress.toString();
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);
}
}