diff options
author | Anton Lundin <glance@acc.umu.se> | 2015-09-25 00:59:03 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-25 09:56:11 -0700 |
commit | 8946c822425d22fb111a96bccbd3d81dd0447f5c (patch) | |
tree | 336ff6dad61df155bfba1b19f8f514ce0750a3b1 /qt-ui/configuredivecomputerdialog.cpp | |
parent | 94a86df9a325b8598b8fb94938cba06c036b0f72 (diff) | |
download | subsurface-8946c822425d22fb111a96bccbd3d81dd0447f5c.tar.gz |
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>
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.cpp')
-rw-r--r-- | qt-ui/configuredivecomputerdialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp index a6017e92a..eb790e6d3 100644 --- a/qt-ui/configuredivecomputerdialog.cpp +++ b/qt-ui/configuredivecomputerdialog.cpp @@ -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); |