mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	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>
This commit is contained in:
		
							parent
							
								
									3eb5970bec
								
							
						
					
					
						commit
						eb08ec972d
					
				
					 2 changed files with 1352 additions and 1352 deletions
				
			
		|  | @ -417,17 +417,17 @@ void ConfigureDiveComputerDialog::populateDeviceDetails() | |||
| { | ||||
| 	switch (ui.dcStackedWidget->currentIndex()) { | ||||
| 	case 0: | ||||
| 		populateDeviceDetailsOSTC3(); | ||||
| 		break; | ||||
| 	case 1: | ||||
| 		populateDeviceDetailsSuuntoVyper(); | ||||
| 		break; | ||||
| 	case 2: | ||||
| 		populateDeviceDetailsOSTC(); | ||||
| 		break; | ||||
| 	case 3: | ||||
| 	case 1: | ||||
| 		populateDeviceDetailsOSTC3(); | ||||
| 		break; | ||||
| 	case 2: | ||||
| 		populateDeviceDetailsOSTC4(); | ||||
| 		break; | ||||
| 	case 3: | ||||
| 		populateDeviceDetailsSuuntoVyper(); | ||||
| 		break; | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
|  | @ -954,17 +954,17 @@ void ConfigureDiveComputerDialog::reloadValues() | |||
| 
 | ||||
| 	switch (ui.dcStackedWidget->currentIndex()) { | ||||
| 	case 0: | ||||
| 		reloadValuesOSTC3(); | ||||
| 		break; | ||||
| 	case 1: | ||||
| 		reloadValuesSuuntoVyper(); | ||||
| 		break; | ||||
| 	case 2: | ||||
| 		reloadValuesOSTC(); | ||||
| 		break; | ||||
| 	case 3: | ||||
| 	case 1: | ||||
| 		reloadValuesOSTC3(); | ||||
| 		break; | ||||
| 	case 2: | ||||
| 		reloadValuesOSTC4(); | ||||
| 		break; | ||||
| 	case 3: | ||||
| 		reloadValuesSuuntoVyper(); | ||||
| 		break; | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
|  | @ -1430,24 +1430,24 @@ void ConfigureDiveComputerDialog::on_DiveComputerList_currentRowChanged(int curr | |||
| { | ||||
| 	switch (currentRow) { | ||||
| 	case 0: | ||||
| 		selected_vendor = "Heinrichs Weikamp"; | ||||
| 		selected_product = "OSTC 3"; | ||||
| 		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"; | ||||
| 		fw_upgrade_possible = true; | ||||
| 		break; | ||||
| 	case 3: | ||||
| 	case 1: | ||||
| 		selected_vendor = "Heinrichs Weikamp"; | ||||
| 		selected_product = "OSTC 3"; | ||||
| 		fw_upgrade_possible = true; | ||||
| 		break; | ||||
| 	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; | ||||
|  |  | |||
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue