In 4.5 the signal-to-slot connections between the QSlider
and the QSpinBox were bidirectional. That setup is still
desirable; it must have been broken accidentally during
preferences refactorings.

Signed-off-by: K. Heller <[email protected]>
---

This commit is straightforward except for the <hints> tags.
I am assuming these <hints> only have meaning in the qtcreator
application. If I am wrong, let me know.  When I edited this
ui file in qtcreator it changed other preexisting <hints>
XML sections that i decided to exclude from this commit, because
they seemed meaningless.

 desktop-widgets/preferences/preferences_defaults.ui | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/desktop-widgets/preferences/preferences_defaults.ui 
b/desktop-widgets/preferences/preferences_defaults.ui
index 627d22c..1a54d7b 100644
--- a/desktop-widgets/preferences/preferences_defaults.ui
+++ b/desktop-widgets/preferences/preferences_defaults.ui
@@ -280,5 +280,21 @@
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>velocitySpinBox</sender>
+   <signal>valueChanged(int)</signal>
+   <receiver>velocitySlider</receiver>
+   <slot>setValue(int)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>547</x>
+     <y>274</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>482</x>
+     <y>276</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
 </ui>
-- 
2.5.0

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to