summaryrefslogtreecommitdiff
path: root/src/plugins/sensors/sensorfw/sensorfworientationsensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/sensors/sensorfw/sensorfworientationsensor.h')
-rw-r--r--src/plugins/sensors/sensorfw/sensorfworientationsensor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/sensors/sensorfw/sensorfworientationsensor.h b/src/plugins/sensors/sensorfw/sensorfworientationsensor.h
index 7c2ecdf..139761a 100644
--- a/src/plugins/sensors/sensorfw/sensorfworientationsensor.h
+++ b/src/plugins/sensors/sensorfw/sensorfworientationsensor.h
@@ -43,7 +43,7 @@
#define SENSORFWORIENTATIONSENSOR_H
#include "sensorfwsensorbase.h"
-#include <qorientationsensor.h>
+#include <QtSensors/qorientationsensor.h>
#include <orientationsensor_i.h>
@@ -60,11 +60,11 @@ protected:
virtual bool doConnect();
virtual QString sensorName() const;
virtual void start();
-
+ virtual void init() Q_DECL_OVERRIDE;
private:
QOrientationReading m_reading;
static QOrientationReading::Orientation getOrientation(int orientation);
- static bool m_initDone;
+ bool m_initDone;
private slots:
void slotDataAvailable(const Unsigned& orientation);