summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothsocket_bluez.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-06-19 14:25:54 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-07-03 15:14:26 +0000
commitc9af4c90eed088a8b98ce57aaa623c552e62b098 (patch)
treefd3dbe14dc21a2f74f58c7be8dee3ed7045fe203 /src/bluetooth/qbluetoothsocket_bluez.cpp
parentf870501469c9165f16c792e1167a8a897a3b0d5a (diff)
Add preferredSecurityFlags to QBluetoothSocket
This permits the API user to determine the security parameters for the connect attempt to the remote SPP service. Task-number: QTBUG-46377 Change-Id: I1ed5ea0f5a32aa08dcedc46a34b0377654e420b2 Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Diffstat (limited to 'src/bluetooth/qbluetoothsocket_bluez.cpp')
-rw-r--r--src/bluetooth/qbluetoothsocket_bluez.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothsocket_bluez.cpp b/src/bluetooth/qbluetoothsocket_bluez.cpp
index c18ce279..fde5b58e 100644
--- a/src/bluetooth/qbluetoothsocket_bluez.cpp
+++ b/src/bluetooth/qbluetoothsocket_bluez.cpp
@@ -64,6 +64,7 @@ QBluetoothSocketPrivate::QBluetoothSocketPrivate()
connectWriteNotifier(0),
connecting(false),
discoveryAgent(0),
+ secFlags(QBluetooth::Authorization),
lowEnergySocketType(0)
{
}