summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefDiveComputer.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-15 07:40:26 -0400
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2018-10-15 19:46:18 +0200
commita20626a8741fe0042287ae11abd0041310c1692f (patch)
tree46021bb49c2b57775638ab1b103cbaadea9effa4 /core/settings/qPrefDiveComputer.cpp
parent5b925d29af8e678c8bead4b594aebe8e5903b570 (diff)
downloadsubsurface-a20626a8741fe0042287ae11abd0041310c1692f.tar.gz
Bluetooth cleanup: remove pointless download_mode
This was used to track whether we had selected the native BT mode in the download dialog. But the information is redundant as we can tell from the device name whether this is a BT/BLE download or not. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/settings/qPrefDiveComputer.cpp')
-rw-r--r--core/settings/qPrefDiveComputer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/settings/qPrefDiveComputer.cpp b/core/settings/qPrefDiveComputer.cpp
index c5e131bec..6e9cc45f1 100644
--- a/core/settings/qPrefDiveComputer.cpp
+++ b/core/settings/qPrefDiveComputer.cpp
@@ -20,7 +20,6 @@ void qPrefDiveComputer::loadSync(bool doSync)
// last computer used
disk_device(doSync);
disk_device_name(doSync);
- disk_download_mode(doSync);
disk_product(doSync);
disk_vendor(doSync);
@@ -41,7 +40,6 @@ void qPrefDiveComputer::loadSync(bool doSync)
// these are the 'active' settings
HANDLE_PREFERENCE_TXT_EXT(DiveComputer, "dive_computer_device", device, dive_computer.)
HANDLE_PREFERENCE_TXT_EXT(DiveComputer, "dive_computer_device_name", device_name, dive_computer.)
-HANDLE_PREFERENCE_INT_EXT(DiveComputer, "dive_computer_download_mode", download_mode, dive_computer.)
HANDLE_PREFERENCE_TXT_EXT(DiveComputer, "dive_computer_product", product, dive_computer.)
HANDLE_PREFERENCE_TXT_EXT(DiveComputer, "dive_computer_vendor", vendor, dive_computer.)