]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/simple_preferences.cpp
Qt4 : Simple Preferences. Add a slider widget to pref_widget, because it is nicer...
[vlc] / modules / gui / qt4 / components / simple_preferences.cpp
index ef20090a775c7fadd8aae2a8915049a94083b6b1..c2b0b650a60d4fbbb5bdd5b9ed4c9d0f565ff090 100644 (file)
@@ -136,7 +136,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
 
 #ifdef WIN32
             CONFIG_GENERIC( "directx-wallpaper" , Bool , NULL, wallpaperMode );
-            CONFIG_GENERIC( "directx-device", String, NULL, dXdisplayDevice );
+      //      CONFIG_GENERIC( "directx-device", String, NULL, dXdisplayDevice );
 #endif
 
             CONFIG_GENERIC( "snapshot-path", String, NULL,
@@ -161,7 +161,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
 #endif
          CONFIG_GENERIC( "audio", Bool, NULL, enableAudio );
 
-/*       CONFIG_GENERIC( "volume" ,  RangedInt, NULL, defaultVolume );*/ //FIXME Why ?
+       CONFIG_GENERIC( "volume" ,  IntegerRangeSlider, NULL, defaultVolume ); 
+
 /*         CONFIG_GENERIC( "audio-language" , String , NULL, 
                     preferredAudioLanguage ); */ //FIXME WHy ?
          CONFIG_GENERIC( "spdif" , Bool , NULL, spdifBox );
@@ -173,8 +174,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
 /*       CONFIG_GENERIC( "alsadev" , String , NULL, alsaDevice );*/
          CONFIG_GENERIC( "dspdev" , String , NULL, OSSDevice );//FIXME File
 #else
-         CONFIG_GENERIC( "directx-audio-device" , Integer, NULL, 
-                 DirectXDevice );
+/*       CONFIG_GENERIC( "directx-audio-device" , Integer, NULL, 
+                 DirectXDevice );*/
 #endif
          CONFIG_GENERIC( "audiofile-file" , String , NULL, FileName ); //Fixme File