aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/configuredivecomputerdialog.cpp
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2018-03-03 14:29:51 +0100
committerGravatar Robert C. Helling <helling@atdotde.de>2018-03-05 16:19:49 +0100
commiteb08ec972dc134d3f926e14fda024f9405e71692 (patch)
treefc4496cdc29d8bdf491f05472d44e88e40bc3ea9 /desktop-widgets/configuredivecomputerdialog.cpp
parent3eb5970becf101be6f33085d120976bc7b8b5020 (diff)
downloadsubsurface-eb08ec972dc134d3f926e14fda024f9405e71692.tar.gz
Configure DC dialog: Change order of DCs and correct names
In the configure dive computer dialog change the order of the DCs (all HW first, then Suunto) and correct the names of some HW DCs (make them the same as in the "download from DC selection list"). Plus added the OSTC Plus to the list of supported DC. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'desktop-widgets/configuredivecomputerdialog.cpp')
-rw-r--r--desktop-widgets/configuredivecomputerdialog.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/desktop-widgets/configuredivecomputerdialog.cpp b/desktop-widgets/configuredivecomputerdialog.cpp
index 970ffb96e..138f9763a 100644
--- a/desktop-widgets/configuredivecomputerdialog.cpp
+++ b/desktop-widgets/configuredivecomputerdialog.cpp
@@ -417,16 +417,16 @@ void ConfigureDiveComputerDialog::populateDeviceDetails()
{
switch (ui.dcStackedWidget->currentIndex()) {
case 0:
- populateDeviceDetailsOSTC3();
+ populateDeviceDetailsOSTC();
break;
case 1:
- populateDeviceDetailsSuuntoVyper();
+ populateDeviceDetailsOSTC3();
break;
case 2:
- populateDeviceDetailsOSTC();
+ populateDeviceDetailsOSTC4();
break;
case 3:
- populateDeviceDetailsOSTC4();
+ populateDeviceDetailsSuuntoVyper();
break;
}
}
@@ -954,16 +954,16 @@ void ConfigureDiveComputerDialog::reloadValues()
switch (ui.dcStackedWidget->currentIndex()) {
case 0:
- reloadValuesOSTC3();
+ reloadValuesOSTC();
break;
case 1:
- reloadValuesSuuntoVyper();
+ reloadValuesOSTC3();
break;
case 2:
- reloadValuesOSTC();
+ reloadValuesOSTC4();
break;
case 3:
- reloadValuesOSTC4();
+ reloadValuesSuuntoVyper();
break;
}
}
@@ -1431,23 +1431,23 @@ void ConfigureDiveComputerDialog::on_DiveComputerList_currentRowChanged(int curr
switch (currentRow) {
case 0:
selected_vendor = "Heinrichs Weikamp";
- selected_product = "OSTC 3";
+ selected_product = "OSTC 2N";
fw_upgrade_possible = true;
break;
case 1:
- selected_vendor = "Suunto";
- selected_product = "Vyper";
- fw_upgrade_possible = false;
- break;
- case 2:
selected_vendor = "Heinrichs Weikamp";
- selected_product = "OSTC 2N";
+ selected_product = "OSTC 3";
fw_upgrade_possible = true;
break;
- case 3:
+ case 2:
selected_vendor = "Heinrichs Weikamp";
selected_product = "OSTC 4";
fw_upgrade_possible = true;
+ break;
+ case 3:
+ selected_vendor = "Suunto";
+ selected_product = "Vyper";
+ fw_upgrade_possible = false;
default:
/* Not Supported */
return;