[vlc-commits] Qt: simple prefs dependency on Win32

Jean-Baptiste Kempf git at videolan.org
Mon Sep 26 00:24:48 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Sep 26 00:24:27 2011 +0200| [04e18e6c838c79f03dca019168ecc8665a2ec334] | committer: Jean-Baptiste Kempf

Qt: simple prefs dependency on Win32

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=04e18e6c838c79f03dca019168ecc8665a2ec334
---

 modules/gui/qt4/components/simple_preferences.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index a669a00..9a43bf5 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -227,11 +227,13 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             CONFIG_GENERIC( "directx-device", StringList, ui.dxDeviceLabel,
                             dXdisplayDevice );
             CONFIG_BOOL( "directx-hw-yuv", hwYUVBox );
+            CONNECT( ui.overlay, toggled( bool ), ui.hwYUVBox, setEnabled( bool ) );
 #else
             ui.directXBox->setVisible( false );
             ui.hwYUVBox->setVisible( false );
 #endif
 
+
             CONFIG_GENERIC( "deinterlace", IntegerList, ui.deinterLabel, deinterlaceBox );
             CONFIG_GENERIC( "deinterlace-mode", StringList, ui.deinterModeLabel, deinterlaceModeBox );
             CONFIG_GENERIC( "aspect-ratio", String, ui.arLabel, arLine );



More information about the vlc-commits mailing list