Qt: update mouse wheel simple preferences (refs #5883)
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 16 Aug 2014 09:29:06 +0000 (12:29 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 16 Aug 2014 09:29:06 +0000 (12:29 +0300)
modules/gui/qt4/components/simple_preferences.cpp

index 5cf8fc9..66a01d3 100644 (file)
@@ -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 );