diff options
-rw-r--r-- | src/bluetooth/qbluetoothdevicediscoveryagent_p.h | 3 | ||||
-rw-r--r-- | src/bluetooth/qbluetoothservicediscoveryagent_p.h | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/bluetooth/qbluetoothdevicediscoveryagent_p.h b/src/bluetooth/qbluetoothdevicediscoveryagent_p.h index cf4fd0c5..16ebe63c 100644 --- a/src/bluetooth/qbluetoothdevicediscoveryagent_p.h +++ b/src/bluetooth/qbluetoothdevicediscoveryagent_p.h @@ -156,7 +156,6 @@ private: #ifdef QT_WIN_BLUETOOTH public: - typedef void* SearchHandle; static QString discoveredLeDeviceSystemPath(const QBluetoothAddress &deviceAddress); private slots: @@ -171,7 +170,7 @@ private: QFutureWatcher<QBluetoothDeviceInfo> *scanWatcher; bool active; int systemErrorCode; - SearchHandle hSearch; + Qt::HANDLE hSearch; #endif QBluetoothDeviceDiscoveryAgent *q_ptr; diff --git a/src/bluetooth/qbluetoothservicediscoveryagent_p.h b/src/bluetooth/qbluetoothservicediscoveryagent_p.h index c9620ffd..86eccb12 100644 --- a/src/bluetooth/qbluetoothservicediscoveryagent_p.h +++ b/src/bluetooth/qbluetoothservicediscoveryagent_p.h @@ -187,8 +187,6 @@ private: #endif #ifdef QT_WIN_BLUETOOTH -public: - typedef void* SearchHandle; private: int systemError; bool pendingStop; @@ -196,7 +194,7 @@ private: QFutureWatcher<QBluetoothServiceInfo> *searchWatcher; - SearchHandle hSearch; + Qt::HANDLE hSearch; #endif protected: |