[PATCH 2/2] 255% as limit for Saturation/Desaturation on OSTC3
Anton Lundin
glance at acc.umu.se
Tue Oct 14 23:27:27 PDT 2014
The default max value for a QSpinBox is 99. The default Saturation
factor for the OSTC3 is 110%. This code raises the max values to 255
which is as far as i've read the ostc3_interface.odt the max value.
Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
qt-ui/configuredivecomputerdialog.ui | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/qt-ui/configuredivecomputerdialog.ui b/qt-ui/configuredivecomputerdialog.ui
index 94390e9..b8092b3 100644
--- a/qt-ui/configuredivecomputerdialog.ui
+++ b/qt-ui/configuredivecomputerdialog.ui
@@ -354,6 +354,9 @@
<property name="suffix">
<string>%</string>
</property>
+ <property name="maximum">
+ <number>255</number>
+ </property>
</widget>
</item>
<item row="3" column="3">
@@ -371,6 +374,9 @@
<property name="suffix">
<string>%</string>
</property>
+ <property name="maximum">
+ <number>255</number>
+ </property>
</widget>
</item>
<item row="4" column="0">
--
1.9.1
More information about the subsurface
mailing list