summaryrefslogtreecommitdiffstats
path: root/qt-ui/btdeviceselectiondialog.h
diff options
context:
space:
mode:
authorGravatar Claudiu Olteanu <olteanu.claudiu@ymail.com>2015-07-18 20:51:45 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-20 05:39:43 -0700
commit0cf5214c15709844a2b79a7cee029ef93cb76e73 (patch)
tree44c6feca989d7b77584bdfa17598c1488f6b0030 /qt-ui/btdeviceselectiondialog.h
parentb5ac3a3fa8168bd6bf38ecb1985f37c7d683e411 (diff)
downloadsubsurface-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.h1
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