diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-09-25 20:04:02 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-12 08:22:44 -0700 |
commit | 9491c96103d7be26e3a98245a345adcb9230c035 (patch) | |
tree | 03a3746b116928081a1ee8cad0dd5a0697c25a03 /desktop-widgets | |
parent | 2954bc5f222ff3808a2b51be4a6f1c13f6ca8944 (diff) | |
download | subsurface-9491c96103d7be26e3a98245a345adcb9230c035.tar.gz |
Bluetooth: start discovery if address isn't already known
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/downloadfromdivecomputer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp index 509d3b402..b0687bb3a 100644 --- a/desktop-widgets/downloadfromdivecomputer.cpp +++ b/desktop-widgets/downloadfromdivecomputer.cpp @@ -311,6 +311,7 @@ void DownloadFromDCWidget::on_device_currentTextChanged(const QString &device) // ensure we have a discovery running if (btd == nullptr) btd = BTDiscovery::instance(); + btd->discoverAddress(device); } #else Q_UNUSED(device) |