summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensors/sensorfw/sensorfworientationsensor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/sensors/sensorfw/sensorfworientationsensor.cpp')
-rw-r--r--src/plugins/sensors/sensorfw/sensorfworientationsensor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/sensors/sensorfw/sensorfworientationsensor.cpp b/src/plugins/sensors/sensorfw/sensorfworientationsensor.cpp
index bd91ac26..722d61b6 100644
--- a/src/plugins/sensors/sensorfw/sensorfworientationsensor.cpp
+++ b/src/plugins/sensors/sensorfw/sensorfworientationsensor.cpp
@@ -78,6 +78,7 @@ void SensorfwOrientationSensor::slotDataAvailable(const Unsigned& data)
bool SensorfwOrientationSensor::doConnect()
{
+ Q_ASSERT(m_sensorInterface);
return QObject::connect(m_sensorInterface, SIGNAL(orientationChanged(Unsigned)),
this, SLOT(slotDataAvailable(Unsigned)));
}