From 8946c822425d22fb111a96bccbd3d81dd0447f5c Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Fri, 25 Sep 2015 00:59:03 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/configuredivecomputerdialog.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/configuredivecomputerdialog.cpp') 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); -- cgit v1.2.3-70-g09d2