summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothserviceinfo_osx.mm
diff options
context:
space:
mode:
authorKevin Funk <kfunk@kde.org>2017-09-24 23:54:54 +0200
committerKevin Funk <kevin.funk@kdab.com>2017-09-29 19:14:13 +0000
commit844382001f8deaa7fcc9faac779b24188f35329b (patch)
tree30253a96379774154edbaa35c0fb6f90ed788307 /src/bluetooth/qbluetoothserviceinfo_osx.mm
parent38e561011bb248ae9b803084eb66824588c7b22a (diff)
Replace Q_NULLPTR with nullptr
Change-Id: Ica194c2568465a94d851ddeaf62ca71b33fe4464 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/bluetooth/qbluetoothserviceinfo_osx.mm')
-rw-r--r--src/bluetooth/qbluetoothserviceinfo_osx.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothserviceinfo_osx.mm b/src/bluetooth/qbluetoothserviceinfo_osx.mm
index a25653ab..6da9d7a2 100644
--- a/src/bluetooth/qbluetoothserviceinfo_osx.mm
+++ b/src/bluetooth/qbluetoothserviceinfo_osx.mm
@@ -127,7 +127,7 @@ bool QBluetoothServiceInfoPrivate::registerService(const QBluetoothAddress &loca
const QSInfo::Protocol type = q_ptr->socketProtocol();
quint16 realPort = 0;
- QBluetoothServerPrivate *server = Q_NULLPTR;
+ QBluetoothServerPrivate *server = nullptr;
bool configured = false;
if (type == QBluetoothServiceInfo::L2capProtocol) {
@@ -179,7 +179,7 @@ bool QBluetoothServiceInfoPrivate::unregisterService()
serviceRecord.reset(nil);
const QSInfo::Protocol type = q_ptr->socketProtocol();
- QBluetoothServerPrivate *server = Q_NULLPTR;
+ QBluetoothServerPrivate *server = nullptr;
const QMutexLocker lock(&QBluetoothServerPrivate::channelMapMutex());
if (type == QSInfo::RfcommProtocol)