From 51ef56fbcbc8805b4f0901495dc4769b6cdc5fdd Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Thu, 16 Oct 2014 01:13:50 +0200 Subject: [PATCH] Set limits for Saturation/Desaturation on OSTC3 The default max value for a QSpinBox is 99. The default Saturation factor for the OSTC3 is 110%. This code sets the max, min and default values on those spinboxes. The values comes from me reading the assembler code for the OSTC3. Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- qt-ui/configuredivecomputerdialog.ui | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/qt-ui/configuredivecomputerdialog.ui b/qt-ui/configuredivecomputerdialog.ui index b8092b3a7..ea836f45f 100644 --- a/qt-ui/configuredivecomputerdialog.ui +++ b/qt-ui/configuredivecomputerdialog.ui @@ -354,8 +354,14 @@ % + + 100 + - 255 + 140 + + + 110 @@ -374,8 +380,14 @@ % + + 60 + - 255 + 100 + + + 90