diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-03-03 15:55:12 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-03-03 14:23:44 +0000 |
commit | 64a106da72796377bbff5cce0ecc5a379b105498 (patch) | |
tree | 0872edebdefa032887415fc918cad801ff695c34 /src/webchannel/qwebchannelabstracttransport.h | |
parent | 330ed4783cce75f5fb86c04ebbdfa7e7b09c4e7b (diff) | |
download | qtwebchannel-64a106da72796377bbff5cce0ecc5a379b105498.tar.gz |
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 <milian.wolff@kdab.com>
Diffstat (limited to 'src/webchannel/qwebchannelabstracttransport.h')
-rw-r--r-- | src/webchannel/qwebchannelabstracttransport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webchannel/qwebchannelabstracttransport.h b/src/webchannel/qwebchannelabstracttransport.h index e7f2af4..a9bc5ed 100644 --- a/src/webchannel/qwebchannelabstracttransport.h +++ b/src/webchannel/qwebchannelabstracttransport.h @@ -44,7 +44,7 @@ class Q_WEBCHANNEL_EXPORT QWebChannelAbstractTransport : public QObject { Q_OBJECT public: - explicit QWebChannelAbstractTransport(QObject *parent = 0); + explicit QWebChannelAbstractTransport(QObject *parent = Q_NULLPTR); virtual ~QWebChannelAbstractTransport(); public Q_SLOTS: |