Skip to content
Commit 2807a409 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

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
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