diff options
author | Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> | 2016-06-02 14:26:06 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> | 2016-06-02 13:06:56 +0000 |
commit | 62d488b5afdc0cf2e7d630b10eeccdcecdee7425 (patch) | |
tree | 0d58fedf4183f96fd1d25e9c1ff42de510511f41 /src/bluetooth/osx/osxbtledeviceinquiry.mm | |
parent | 6b6b4fea87b7b9063299e4b15adf307f71319cf1 (diff) |
QtBluetooth - get rid of Q_FUNC_INFO (OS X/iOS)
Since now the use of Q_FUNC_INFO is not recommended (and indeed can
mix ugly with QT_MESSAGE_PATTERN), remove it (it now stays only in
3-parameter Q_ASSERTs and NSLogs.
The next patch will do the same kind of cleanup in C++ part.
Change-Id: Ief8bd7c90ea2ff2a99f246885691102062aa5e54
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/bluetooth/osx/osxbtledeviceinquiry.mm')
-rw-r--r-- | src/bluetooth/osx/osxbtledeviceinquiry.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/osx/osxbtledeviceinquiry.mm b/src/bluetooth/osx/osxbtledeviceinquiry.mm index 3539ccf3..58cecccc 100644 --- a/src/bluetooth/osx/osxbtledeviceinquiry.mm +++ b/src/bluetooth/osx/osxbtledeviceinquiry.mm @@ -269,7 +269,7 @@ using namespace QT_NAMESPACE; if (!peripheral.identifier) { - qCWarning(QT_BT_OSX) << Q_FUNC_INFO << "peripheral without NSUUID"; + qCWarning(QT_BT_OSX) << "peripheral without NSUUID"; return; } @@ -282,7 +282,7 @@ using namespace QT_NAMESPACE; deviceUuid = OSXBluetooth::qt_uuid(peripheral.identifier); if (deviceUuid.isNull()) { - qCWarning(QT_BT_OSX) << Q_FUNC_INFO << "no way to address peripheral, QBluetoothUuid is null"; + qCWarning(QT_BT_OSX) << "no way to address peripheral, QBluetoothUuid is null"; return; } |