From 5d6969bf32233a57e081ff027a3426db11108cf4 Mon Sep 17 00:00:00 2001 From: Lorn Potter Date: Mon, 13 Apr 2015 12:11:27 +1000 Subject: Fix clients starting sensors when sensorfw restarts. Task-number: QTBUG-45516 Change-Id: I45215714e8f5e4693e43d022a3ca313576c85d79 Reviewed-by: Alex Blasche --- src/plugins/sensors/sensorfw/sensorfwsensorbase.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/sensors/sensorfw/sensorfwsensorbase.cpp b/src/plugins/sensors/sensorfw/sensorfwsensorbase.cpp index 0ca815a..9be5ff3 100644 --- a/src/plugins/sensors/sensorfw/sensorfwsensorbase.cpp +++ b/src/plugins/sensors/sensorfw/sensorfwsensorbase.cpp @@ -224,6 +224,7 @@ void SensorfwSensorBase::connectToSensord() void SensorfwSensorBase::sensordUnregistered() { m_bufferSize = -1; + reinitIsNeeded = true; } bool SensorfwSensorBase::initSensorInterface(QString const &name) -- cgit v1.2.3