]> git.sesse.net Git - vlc/commitdiff
Qt4: small fix for sprefs
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 22 Feb 2010 16:43:39 +0000 (17:43 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 22 Feb 2010 16:44:05 +0000 (17:44 +0100)
modules/gui/qt4/components/simple_preferences.cpp

index 3be308ade6c13e4ad4bd55c0f02411c8df7baf49..9ab4e5e2365240608167b9a5c59cb524f8a33276 100644 (file)
@@ -283,14 +283,14 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             audioControl( DirectX );
             optionWidgets.append( DirectXControl );
             CONFIG_GENERIC_NO_UI( "directx-audio-device-name", StringList,
-                    NULL, DirectXDevice );
+                    DirectXLabel, DirectXDevice );
 #else
             if( module_exists( "alsa" ) )
             {
                 audioControl( alsa );
                 optionWidgets.append( alsaControl );
 
-                CONFIG_GENERIC_NO_UI( "alsa-audio-device" , StringList, NULL,
+                CONFIG_GENERIC_NO_UI( "alsa-audio-device" , StringList, alsaLabel,
                                 alsaDevice );
             }
             else