summaryrefslogtreecommitdiffstats
path: root/core/downloadfromdcthread.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-29 19:47:51 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-30 13:12:53 -0700
commitc145cbd75444508d3a48e8b363abbbb52eb5ed12 (patch)
treea954ddbfc15f41507aca3b57b8fd32b7f27846e4 /core/downloadfromdcthread.cpp
parent6837120bb121cd40ec8fc83424849af1ed3756be (diff)
downloadsubsurface-c145cbd75444508d3a48e8b363abbbb52eb5ed12.tar.gz
QML UI: save BT address as string
And do the same LE: prefix marking as in the desktop version. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/downloadfromdcthread.cpp')
-rw-r--r--core/downloadfromdcthread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp
index 7a3a22c6e..cdbb3c53f 100644
--- a/core/downloadfromdcthread.cpp
+++ b/core/downloadfromdcthread.cpp
@@ -331,7 +331,7 @@ QString DCDeviceData::getDetectedDeviceAddress(const QString &currentVendorText,
// detected as a possible real dive computer (and not some other paired
// BT device
if (currentVendorText != QObject::tr("Paired Bluetooth Devices") && !btDCs.isEmpty()) {
- QString btAddr = btDCs.first().btpdi.address.toString();
+ QString btAddr = btDCs.first().btpdi.address;
qDebug() << "getDetectedDeviceAddress" << btAddr;
return btAddr;
}
@@ -340,7 +340,7 @@ QString DCDeviceData::getDetectedDeviceAddress(const QString &currentVendorText,
// unsure being a dive computer
if (currentVendorText == QObject::tr("Paired Bluetooth Devices")) {
int i = productList[currentVendorText].indexOf(currentProductText);
- QString btAddr = btAllDevices[i].btpdi.address.toString();
+ QString btAddr = btAllDevices[i].btpdi.address;
qDebug() << "getDetectedDeviceAddress" << btAddr;
return btAddr;
}