diff options
Diffstat (limited to 'core/downloadfromdcthread.cpp')
-rw-r--r-- | core/downloadfromdcthread.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp index 43861f035..109de69b2 100644 --- a/core/downloadfromdcthread.cpp +++ b/core/downloadfromdcthread.cpp @@ -330,7 +330,7 @@ device_data_t* DCDeviceData::internalData() return &data; } -int DCDeviceData::getDetectedVendorIndex(const QString ¤tText) +int DCDeviceData::getDetectedVendorIndex() { auto dcs = SettingsObjectWrapper::instance()->dive_computer_settings; if (!dcs->dc_vendor().isEmpty()) { @@ -351,8 +351,7 @@ int DCDeviceData::getDetectedVendorIndex(const QString ¤tText) return -1; } -int DCDeviceData::getDetectedProductIndex(const QString ¤tVendorText, - const QString ¤tProductText) +int DCDeviceData::getDetectedProductIndex(const QString ¤tVendorText) { auto dcs = SettingsObjectWrapper::instance()->dive_computer_settings; if (!dcs->dc_vendor().isEmpty()) { @@ -377,8 +376,7 @@ int DCDeviceData::getDetectedProductIndex(const QString ¤tVendorText, return -1; } -QString DCDeviceData::getDetectedDeviceAddress(const QString ¤tVendorText, - const QString ¤tProductText) +QString DCDeviceData::getDetectedDeviceAddress(const QString ¤tProductText) { #if defined(BT_SUPPORT) // Pull the vendor from the found devices that are possible real dive computers |