From 0cf5214c15709844a2b79a7cee029ef93cb76e73 Mon Sep 17 00:00:00 2001 From: Claudiu Olteanu Date: Sat, 18 Jul 2015 20:51:45 +0300 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/btdeviceselectiondialog.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/btdeviceselectiondialog.h') 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 selectedRemoteDeviceInfo; void updateLocalDeviceInformation(); + void initializeDeviceDiscoveryAgent(); }; #endif // BTDEVICESELECTIONDIALOG_H -- cgit v1.2.3-70-g09d2