diff options
author | Claudiu Olteanu <olteanu.claudiu@ymail.com> | 2015-07-18 20:51:45 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-20 05:39:43 -0700 |
commit | 0cf5214c15709844a2b79a7cee029ef93cb76e73 (patch) | |
tree | 44c6feca989d7b77584bdfa17598c1488f6b0030 /qt-ui/btdeviceselectiondialog.h | |
parent | b5ac3a3fa8168bd6bf38ecb1985f37c7d683e411 (diff) | |
download | subsurface-0cf5214c15709844a2b79a7cee029ef93cb76e73.tar.gz |
Reinitialize the BT discovery agent when a new adapter is selected
Reinitialize the Bluetooth device discovery agent when the user
selects a new local Bluetooth adapter using the address
of the selected device.
Before this patch the agent was always using the local default
Bluetooth adapter.
Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/btdeviceselectiondialog.h')
-rw-r--r-- | qt-ui/btdeviceselectiondialog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/btdeviceselectiondialog.h b/qt-ui/btdeviceselectiondialog.h index de64c937d..9c040dc68 100644 --- a/qt-ui/btdeviceselectiondialog.h +++ b/qt-ui/btdeviceselectiondialog.h @@ -46,6 +46,7 @@ private: QSharedPointer<QBluetoothDeviceInfo> selectedRemoteDeviceInfo; void updateLocalDeviceInformation(); + void initializeDeviceDiscoveryAgent(); }; #endif // BTDEVICESELECTIONDIALOG_H |