diff options
author | Robert C. Helling <helling@atdotde.de> | 2017-12-07 14:40:23 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-12-07 18:15:40 +0100 |
commit | 1c223b09c310d65ca554cae455cdc74fc33da60f (patch) | |
tree | 4073e2326060fa218c00ebe85dceb69b5793c990 /core/btdiscovery.cpp | |
parent | 127abec62c713e46d9651b887a675cb2f572227d (diff) | |
download | subsurface-1c223b09c310d65ca554cae455cdc74fc33da60f.tar.gz |
Show BT device names first
Show them left of address (so they are in the user's view) rather
than on the right.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/btdiscovery.cpp')
-rw-r--r-- | core/btdiscovery.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp index 9594ccb89..63a1df5fd 100644 --- a/core/btdiscovery.cpp +++ b/core/btdiscovery.cpp @@ -195,7 +195,7 @@ void BTDiscovery::btDeviceDiscoveredMain(const btPairedDevice &device) btVP.vendorIdx = vendorList.indexOf(vendor); btVP.productIdx = productList[vendor].indexOf(newDevice); btDCs << btVP; - connectionListModel.addAddress(device.address + " (" + newDevice + ")"); + connectionListModel.addAddress(newDevice + " " + device.address); return; } connectionListModel.addAddress(device.address); |