vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sat Aug 16 
12:29:06 2014 +0300| [09fc199d67ba98f7138dcaf7f0e02c56e9accfb7] | committer: 
Rémi Denis-Courmont

Qt: update mouse wheel simple preferences (refs #5883)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=09fc199d67ba98f7138dcaf7f0e02c56e9accfb7
---

 modules/gui/qt4/components/simple_preferences.cpp |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt4/components/simple_preferences.cpp 
b/modules/gui/qt4/components/simple_preferences.cpp
index 5cf8fc9..66a01d3 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -909,7 +909,15 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget 
*_parent,
 
             line++;
 
-            p_config = config_FindConfig( VLC_OBJECT(p_intf), 
"hotkeys-mousewheel-mode" );
+            p_config = config_FindConfig( VLC_OBJECT(p_intf), 
"hotkeys-y-wheel-mode" );
+            control = new IntegerListConfigControl( VLC_OBJECT(p_intf),
+                    p_config, this, false );
+            control->insertIntoExistingGrid( gLayout, line );
+            controls.append( control );
+
+            line++;
+
+            p_config = config_FindConfig( VLC_OBJECT(p_intf), 
"hotkeys-x-wheel-mode" );
             control = new IntegerListConfigControl( VLC_OBJECT(p_intf),
                     p_config, this, false );
             control->insertIntoExistingGrid( gLayout, line );

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to