diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-03-16 09:28:41 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-16 13:59:18 -0700 |
commit | 2abfd16a1015d7539345377c90ea357ef316bffc (patch) | |
tree | 854e4c524ed3d7da694e47dd4d36b167d338ce75 /mobile-widgets/qmlmanager.cpp | |
parent | 71f573da2aff3ace922605320fb576bf3d8117c7 (diff) | |
download | subsurface-2abfd16a1015d7539345377c90ea357ef316bffc.tar.gz |
mobile/DC-download: show USB devices before BT/BLE
This makes sense because USB devices will only show up when connected,
while BT/BLE will get listed once they are paired, even if not currently
connected. So the higher likelihood of being the device a user is looking
for is for any USB devices that show up, so those should go first.
Suggested-by: Christof Arnosti <charno@charno.ch>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 08b674a2a..939ec51bf 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -158,8 +158,8 @@ void QMLManager::btRescan() void QMLManager::rescanConnections() { connectionListModel.removeAllAddresses(); - btRescan(); usbRescan(); + btRescan(); #if defined(SERIAL_FTDI) connectionListModel.addAddress("FTDI"); #endif |