Commit e905e516 authored by David Redondo's avatar David Redondo 🏎

Fix build

We need to use the raw pointer for connect
parent b2fd8e23
......@@ -48,7 +48,7 @@ SensorDaemonInterface::SensorDaemonInterface(QObject *parent)
qDBusRegisterMetaType<SensorInfoMap>();
d->serviceWatcher = std::make_unique<QDBusServiceWatcher>(d->SensorServiceName, QDBusConnection::sessionBus(), QDBusServiceWatcher::WatchForUnregistration);
connect(d->serviceWatcher, &QDBusServiceWatcher::serviceUnregistered, this, &SensorDaemonInterface::reconnect);
connect(d->serviceWatcher.get(), &QDBusServiceWatcher::serviceUnregistered, this, &SensorDaemonInterface::reconnect);
reconnect();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment