From da9112e6385eac93bfb467d169e1d001d83e1ce9 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 3 Mar 2016 10:20:37 +0100 Subject: Make public headers compile with -Wzero-as-null-pointer-constant ... or equivalent. QtBase 5.6 headers already compile that way, so let the other modules follow suit. Task-number: QTBUG-45291 Change-Id: Iaa6ea07220566adc323010c52233416e6ae2b726 Reviewed-by: Lorn Potter --- src/sensors/qtapsensor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sensors/qtapsensor.h') diff --git a/src/sensors/qtapsensor.h b/src/sensors/qtapsensor.h index ada6a658..0d6b70eb 100644 --- a/src/sensors/qtapsensor.h +++ b/src/sensors/qtapsensor.h @@ -87,7 +87,7 @@ class Q_SENSORS_EXPORT QTapSensor : public QSensor Q_PROPERTY(bool returnDoubleTapEvents READ returnDoubleTapEvents WRITE setReturnDoubleTapEvents NOTIFY returnDoubleTapEventsChanged) public: - explicit QTapSensor(QObject *parent = 0); + explicit QTapSensor(QObject *parent = Q_NULLPTR); virtual ~QTapSensor(); QTapReading *reading() const; static char const * const type; -- cgit v1.2.3