summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothtransfermanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth/qbluetoothtransfermanager.cpp')
-rw-r--r--src/bluetooth/qbluetoothtransfermanager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bluetooth/qbluetoothtransfermanager.cpp b/src/bluetooth/qbluetoothtransfermanager.cpp
index 7206dce6..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;
@@ -121,8 +121,8 @@ QBluetoothTransferReply *QBluetoothTransferManager::put(const QBluetoothTransfer
connect(reply, SIGNAL(finished(QBluetoothTransferReply*)), this, SIGNAL(finished(QBluetoothTransferReply*)));
return reply;
#else
- // Android and iOS have no implementation
-#if !defined(QT_ANDROID_BLUETOOTH) && !defined(QT_IOS_BLUETOOTH)
+ // Android, iOS, and WinRT have no implementation
+#if !defined(QT_ANDROID_BLUETOOTH) && !defined(QT_IOS_BLUETOOTH) && !defined(QT_WINRT_BLUETOOTH)
printDummyWarning();
#endif
Q_UNUSED(request);