[vlc-commits] Qt: update mouse wheel simple preferences (refs #5883)

Rémi Denis-Courmont git at videolan.org
Sat Aug 16 11:29:37 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | 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 );



More information about the vlc-commits mailing list