]> git.sesse.net Git - vlc/commitdiff
Qt4 - Simple Preferences. Fix the NON-saving of hotkeys changing
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 21 Jan 2008 23:09:50 +0000 (23:09 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 21 Jan 2008 23:09:50 +0000 (23:09 +0000)
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;
         }