From: Jean-Baptiste Kempf Date: Mon, 21 Jan 2008 23:09:50 +0000 (+0000) Subject: Qt4 - Simple Preferences. Fix the NON-saving of hotkeys changing X-Git-Tag: 0.9.0-test0~3308 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=8be8be5ebcbfbeb6d3f0039a98577e919a4b5ea5;p=vlc Qt4 - Simple Preferences. Fix the NON-saving of hotkeys changing --- diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp index 8c6eaba677..6c97ba81ea 100644 --- a/modules/gui/qt4/components/simple_preferences.cpp +++ b/modules/gui/qt4/components/simple_preferences.cpp @@ -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; }