summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothtransfermanager.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2017-04-05 16:01:38 +0200
committerAlex Blasche <alexander.blasche@qt.io>2017-04-06 07:31:45 +0000
commitba56814fa4f0ca4a20d8448dcee95e5bf7c9d3a5 (patch)
tree571c61765ff6a1f75a4fc6e37a8cc54636c57fad /src/bluetooth/qbluetoothtransfermanager.cpp
parentcda661e1446d4ad00390dacdff8eb107a13d636b (diff)
Replace custom QT_BLUEZ_BLUETOOTH against the related feature define
Change-Id: I4fbb948841a610640acaf87364e2157e31782836 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/bluetooth/qbluetoothtransfermanager.cpp')
-rw-r--r--src/bluetooth/qbluetoothtransfermanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothtransfermanager.cpp b/src/bluetooth/qbluetoothtransfermanager.cpp
index ab05902f..165faceb 100644
--- a/src/bluetooth/qbluetoothtransfermanager.cpp
+++ b/src/bluetooth/qbluetoothtransfermanager.cpp
@@ -40,7 +40,7 @@
#include "qbluetoothtransfermanager.h"
#include "qbluetoothtransferrequest.h"
#include "qbluetoothtransferreply.h"
-#ifdef QT_BLUEZ_BLUETOOTH
+#if QT_CONFIG(bluez)
#include "qbluetoothtransferreply_bluez_p.h"
#elif QT_OSX_BLUETOOTH
#include "qbluetoothtransferreply_osx_p.h"
@@ -112,7 +112,7 @@ QBluetoothTransferManager::~QBluetoothTransferManager()
QBluetoothTransferReply *QBluetoothTransferManager::put(const QBluetoothTransferRequest &request,
QIODevice *data)
{
-#ifdef QT_BLUEZ_BLUETOOTH
+#if QT_CONFIG(bluez)
QBluetoothTransferReplyBluez *rep = new QBluetoothTransferReplyBluez(data, request, this);
connect(rep, SIGNAL(finished(QBluetoothTransferReply*)), this, SIGNAL(finished(QBluetoothTransferReply*)));
return rep;