diff options
author | Lorn Potter <lorn.potter@gmail.com> | 2015-04-13 12:11:27 +1000 |
---|---|---|
committer | Lorn Potter <lorn.potter@gmail.com> | 2015-05-28 01:39:21 +0000 |
commit | 5d6969bf32233a57e081ff027a3426db11108cf4 (patch) | |
tree | a7b06eef7c9c7118cad44b2a3619bf8025827f8b | |
parent | 0808e5a984821f73c21a048af9e7c6de12d95408 (diff) | |
download | qtsensors-5d6969bf32233a57e081ff027a3426db11108cf4.tar.gz qtsensors-5d6969bf32233a57e081ff027a3426db11108cf4.tar.bz2 qtsensors-5d6969bf32233a57e081ff027a3426db11108cf4.zip |
Fix clients starting sensors when sensorfw restarts.
Task-number: QTBUG-45516
Change-Id: I45215714e8f5e4693e43d022a3ca313576c85d79
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
-rw-r--r-- | src/plugins/sensors/sensorfw/sensorfwsensorbase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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) |