summaryrefslogtreecommitdiffstats
path: root/src/sensors/qrotationsensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sensors/qrotationsensor.h')
-rw-r--r--src/sensors/qrotationsensor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sensors/qrotationsensor.h b/src/sensors/qrotationsensor.h
index a8148b29..de2053bb 100644
--- a/src/sensors/qrotationsensor.h
+++ b/src/sensors/qrotationsensor.h
@@ -76,7 +76,7 @@ class Q_SENSORS_EXPORT QRotationSensor : public QSensor
Q_OBJECT
Q_PROPERTY(bool hasZ READ hasZ NOTIFY hasZChanged)
public:
- explicit QRotationSensor(QObject *parent = 0);
+ explicit QRotationSensor(QObject *parent = Q_NULLPTR);
virtual ~QRotationSensor();
QRotationReading *reading() const;
static char const * const type;