[PATCH 9/9] Fix the type of the for the Suunto max depth

Anton Lundin glance at acc.umu.se
Wed Oct 15 16:13:58 PDT 2014


The type is now a double. It was a int during development, but due to
the feet/128 precision i changed it to a Double, but the default value
wasn't changed type on.
All the Qt tools swallowed the number there without complaining but the
Qt designer insisted on changing it to a double.

Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 qt-ui/configuredivecomputerdialog.ui | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qt-ui/configuredivecomputerdialog.ui b/qt-ui/configuredivecomputerdialog.ui
index 51ad633..55c9efe 100644
--- a/qt-ui/configuredivecomputerdialog.ui
+++ b/qt-ui/configuredivecomputerdialog.ui
@@ -916,7 +916,7 @@
                <bool>true</bool>
               </property>
               <property name="maximum">
-               <number>200</number>
+               <double>200.000000000000000</double>
               </property>
              </widget>
             </item>
-- 
1.9.1



More information about the subsurface mailing list