diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-10-12 16:51:29 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-10-12 12:32:12 -0400 |
commit | 3836e640928be83a17910e4c1ae0b6ba564b08a9 (patch) | |
tree | c33b2c163c65ab3802db35425c98b148c696fdde /qt-ui/configuredivecomputerdialog.cpp | |
parent | daa5c14cbffe5a9fbf21aa6a4a98d3eca116fa7d (diff) | |
download | subsurface-3836e640928be83a17910e4c1ae0b6ba564b08a9.tar.gz |
This adds a ui for Suunto Vyper settings
This builds up a ui to use for all the settings for the Suunto Vyper
family devices. Some of the fields are pure information, eg, max depth
and number of dives, so they are marked read-only.
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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp index cfc1b8d54..39ec9fbc2 100644 --- a/qt-ui/configuredivecomputerdialog.cpp +++ b/qt-ui/configuredivecomputerdialog.cpp @@ -462,6 +462,13 @@ void ConfigureDiveComputerDialog::on_DiveComputerList_currentRowChanged(int curr selected_vendor = "Heinrichs Weikamp"; selected_product = "OSTC 3"; break; + case 1: + selected_vendor = "Suunto"; + selected_product = "Vyper"; + break; + default: + /* Not Supported */ + return; } int dcType = DC_TYPE_SERIAL; |