From 360f708326ed53285d0d65c0e9db9a3fcb4219ac Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 3 Mar 2016 13:18:30 +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. Change-Id: I2777ae4776135f616aed7ae560d7cf940780ff2c Task-number: QTBUG-45291 Reviewed-by: Lars Knoll --- src/tts/qtexttospeechengine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tts/qtexttospeechengine.h b/src/tts/qtexttospeechengine.h index 44d45df..319f6c5 100644 --- a/src/tts/qtexttospeechengine.h +++ b/src/tts/qtexttospeechengine.h @@ -50,7 +50,7 @@ class QTEXTTOSPEECH_EXPORT QTextToSpeechEngine : public QObject Q_OBJECT public: - explicit QTextToSpeechEngine(QObject *parent = 0); + explicit QTextToSpeechEngine(QObject *parent = Q_NULLPTR); ~QTextToSpeechEngine(); virtual QVector availableLocales() const = 0; -- cgit v1.2.3