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>
This commit is contained in:
Dirk Hohndel 2018-10-15 07:40:26 -04:00 committed by bstoeger
parent 5b925d29af
commit a20626a874
4 changed files with 1 additions and 17 deletions

View file

@ -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.)