From f9bcaeb8081e81ee6b491c56c7cc371abf084fca Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Tue, 30 Jun 2015 22:11:15 +0200 Subject: QtDBus: Use Q_NULLPTR instead of 0 in all public headers This is in preparation of adding -Wzero-as-null-pointer-constant (or similar) to the headers check. Task-number: QTBUG-45291 Change-Id: If258b503c5ce335ecc22a5176d3e2b21aa7a278a Reviewed-by: Thiago Macieira --- src/dbus/qdbusargument.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dbus/qdbusargument.h') diff --git a/src/dbus/qdbusargument.h b/src/dbus/qdbusargument.h index 42b266792a..6d34a8d226 100644 --- a/src/dbus/qdbusargument.h +++ b/src/dbus/qdbusargument.h @@ -147,7 +147,7 @@ QT_BEGIN_NAMESPACE template inline T qdbus_cast(const QDBusArgument &arg #ifndef Q_QDOC -, T * = 0 +, T * = Q_NULLPTR #endif ) { @@ -158,7 +158,7 @@ template inline T qdbus_cast(const QDBusArgument &arg template inline T qdbus_cast(const QVariant &v #ifndef Q_QDOC -, T * = 0 +, T * = Q_NULLPTR #endif ) { -- cgit v1.2.3