diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2017-06-01 16:25:17 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2017-06-07 09:02:09 +0000 |
commit | d86490915aaa42c04d4dc1ad866e5bb1836d4272 (patch) | |
tree | 82e3db8a715f4d81782cd903d7dab1c8d859c5ad /src | |
parent | c1698e56f0f988564d6e86426a45fdcf4e653a1e (diff) |
Initialize lowEnergySearchTimeout with -1
.. that allows to pass the tst_discoveryTimeout() test.
Change-Id: I1af53c8186151fcb6017b07b28f4b8355d91d072
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/bluetooth/qbluetoothdevicediscoveryagent_win.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothdevicediscoveryagent_win.cpp b/src/bluetooth/qbluetoothdevicediscoveryagent_win.cpp index d6f60ad3..4728faf7 100644 --- a/src/bluetooth/qbluetoothdevicediscoveryagent_win.cpp +++ b/src/bluetooth/qbluetoothdevicediscoveryagent_win.cpp @@ -302,6 +302,7 @@ QBluetoothDeviceDiscoveryAgentPrivate::QBluetoothDeviceDiscoveryAgentPrivate( , active(false) , systemErrorCode(NO_ERROR) , hSearch(0) + , lowEnergySearchTimeout(-1) // remains -1 -> timeout not supported , q_ptr(parent) { scanWatcher = new QFutureWatcher<QBluetoothDeviceInfo>(this); |