mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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>
This commit is contained in:
parent
71f573da2a
commit
2abfd16a10
1 changed files with 1 additions and 1 deletions
|
@ -158,8 +158,8 @@ void QMLManager::btRescan()
|
|||
void QMLManager::rescanConnections()
|
||||
{
|
||||
connectionListModel.removeAllAddresses();
|
||||
btRescan();
|
||||
usbRescan();
|
||||
btRescan();
|
||||
#if defined(SERIAL_FTDI)
|
||||
connectionListModel.addAddress("FTDI");
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue