summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2015-04-13 12:11:27 +1000
committerLorn Potter <lorn.potter@gmail.com>2015-05-28 01:39:21 +0000
commit5d6969bf32233a57e081ff027a3426db11108cf4 (patch)
treea7b06eef7c9c7118cad44b2a3619bf8025827f8b
parent0808e5a984821f73c21a048af9e7c6de12d95408 (diff)
downloadqtsensors-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.cpp1
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)