summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothsocket.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-03-02 16:40:42 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-03-15 17:50:55 +0000
commit03e694e2702d598d3cfced3a63571d9f0fd66f16 (patch)
tree91a8c7956cf177fb7c86a99c184d407e8e84c968 /src/bluetooth/qbluetoothsocket.h
parentc25d62cc83b9e8daa8c9b7fd6c03782b500093db (diff)
Add explicit and 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. Added explicit where it was missing. This is not a source- incompatible change, because code that breaks by this is a bug. Let's not have this sitting around in an LTS. Task-number: QTBUG-45291 Change-Id: I375361699615d0fc874e0b96a84543e233eff5f0 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
Diffstat (limited to 'src/bluetooth/qbluetoothsocket.h')
-rw-r--r--src/bluetooth/qbluetoothsocket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothsocket.h b/src/bluetooth/qbluetoothsocket.h
index 5d686d7f..d5da783f 100644
--- a/src/bluetooth/qbluetoothsocket.h
+++ b/src/bluetooth/qbluetoothsocket.h
@@ -82,8 +82,8 @@ public:
};
Q_ENUM(SocketError)
- explicit QBluetoothSocket(QBluetoothServiceInfo::Protocol socketType, QObject *parent = 0); // create socket of type socketType
- QBluetoothSocket(QObject *parent = 0); // create a blank socket
+ explicit QBluetoothSocket(QBluetoothServiceInfo::Protocol socketType, QObject *parent = Q_NULLPTR); // create socket of type socketType
+ explicit QBluetoothSocket(QObject *parent = Q_NULLPTR); // create a blank socket
virtual ~QBluetoothSocket();
void abort();