mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Probe and expose OSTC3 model information
This looks at the OSTC3 hw descriptor and exposes that model info as a read-only line edit, so you can see in clear text the name of the model of computer. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
94a86df9a3
commit
8946c82242
3 changed files with 173 additions and 124 deletions
|
@ -802,6 +802,7 @@ void ConfigureDiveComputerDialog::reloadValuesOSTC3()
|
|||
ui.serialNoLineEdit->setText(deviceDetails->serialNo);
|
||||
ui.firmwareVersionLineEdit->setText(deviceDetails->firmwareVersion);
|
||||
ui.customTextLlineEdit->setText(deviceDetails->customText);
|
||||
ui.modelLineEdit->setText(deviceDetails->model);
|
||||
ui.diveModeComboBox->setCurrentIndex(deviceDetails->diveMode);
|
||||
ui.saturationSpinBox->setValue(deviceDetails->saturation);
|
||||
ui.desaturationSpinBox->setValue(deviceDetails->desaturation);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue