From 64a106da72796377bbff5cce0ecc5a379b105498 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 3 Mar 2016 15:55:12 +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: I972f844bd5845f4d7d88a14ff1b358c8c2b2643d Task-number: QTBUG-45291 Reviewed-by: Milian Wolff --- src/webchannel/qqmlwebchannel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webchannel/qqmlwebchannel.h') diff --git a/src/webchannel/qqmlwebchannel.h b/src/webchannel/qqmlwebchannel.h index 52d09e6..69fcc70 100644 --- a/src/webchannel/qqmlwebchannel.h +++ b/src/webchannel/qqmlwebchannel.h @@ -53,7 +53,7 @@ class Q_WEBCHANNEL_EXPORT QQmlWebChannel : public QWebChannel Q_PROPERTY( QQmlListProperty registeredObjects READ registeredObjects ) public: - explicit QQmlWebChannel(QObject *parent = 0); + explicit QQmlWebChannel(QObject *parent = Q_NULLPTR); virtual ~QQmlWebChannel(); Q_INVOKABLE void registerObjects(const QVariantMap &objects); -- cgit v1.2.1