diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-06-29 19:47:51 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-30 13:12:53 -0700 |
commit | c145cbd75444508d3a48e8b363abbbb52eb5ed12 (patch) | |
tree | a954ddbfc15f41507aca3b57b8fd32b7f27846e4 /core/downloadfromdcthread.cpp | |
parent | 6837120bb121cd40ec8fc83424849af1ed3756be (diff) | |
download | subsurface-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.cpp | 4 |
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 ¤tVendorText, // 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 ¤tVendorText, // 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; } |