]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/simple_preferences.cpp
Qt4 - Simple Preferences. Fix the NON-saving of hotkeys changing
[vlc] / modules / gui / qt4 / components / simple_preferences.cpp
index 8c6eaba67726e59fa845953fd31ada71f1e22fa6..6c97ba81ea4b8967267ae1df240550ee25fd1368 100644 (file)
@@ -459,11 +459,11 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             panel->setLayout( gLayout );
             int line = 0;
 
-            KeySelectorControl *ksCtrl =
-                        new KeySelectorControl( VLC_OBJECT(p_intf), p_config ,
+            control = new KeySelectorControl( VLC_OBJECT(p_intf), p_config ,
                                                 this, gLayout, line );
 
             panel_label->setText( qtr( "Configure Hotkeys" ) );
+            controls.append( control );
 
             break;
         }