diff options
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; } |