aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-10-15 08:27:27 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-15 14:51:21 +0200
commit0b85f59e8762da762642fc40f59b942661d029d0 (patch)
tree5665462cf87136bc53d24a137556f73c89f61c25
parent0c4f027386ad8932156f24302d956361c28dba85 (diff)
downloadsubsurface-0b85f59e8762da762642fc40f59b942661d029d0.tar.gz
255% as limit 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 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@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/configuredivecomputerdialog.ui6
1 files changed, 6 insertions, 0 deletions
diff --git a/qt-ui/configuredivecomputerdialog.ui b/qt-ui/configuredivecomputerdialog.ui
index 94390e9e7..b8092b3a7 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">