diff --git a/plugins/deviceplugins/awattar/devicepluginawattar.cpp b/plugins/deviceplugins/awattar/devicepluginawattar.cpp index a8702768..668c0fd2 100644 --- a/plugins/deviceplugins/awattar/devicepluginawattar.cpp +++ b/plugins/deviceplugins/awattar/devicepluginawattar.cpp @@ -399,7 +399,7 @@ void DevicePluginAwattar::processPumpSearchData(const QByteArray &data) qCDebug(dcAwattar) << "New heat pump found at" << pumpAddress.toString(); QPointer pump = new HeatPump(pumpAddress, this); - connect(pump, &HeatPump::reachableChanged, this, &DevicePluginAwattar::onHeatPumpReachableChanged); + connect(pump.data(), SIGNAL(reachableChanged()), this, SLOT(onHeatPumpReachableChanged())); m_heatPumps.append(pump); } }