Connect/disconnect from SensorDaemonInterface when Sensor::enabled changes
setSensorId only connects when the sensor is enabled, which means we may not yet be connected if the sensor is created in a disabled context. Rather than always connecting, make the connections explicit only enabled when the sensor is enabled, so we do not do unneccessary work.
parent
f0512a6a
Please register or sign in to comment