[vlc-commits] Qt: update overlay simple pref

Rémi Denis-Courmont git at videolan.org
Sat Apr 30 18:13:46 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Apr 30 19:13:25 2016 +0300| [ee8dc7074d50144cf22a40f5fa89a99b47326d65] | committer: Rémi Denis-Courmont

Qt: update overlay simple pref

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

 modules/gui/qt/components/simple_preferences.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt/components/simple_preferences.cpp b/modules/gui/qt/components/simple_preferences.cpp
index 3f38e0e..49c6aa9 100644
--- a/modules/gui/qt/components/simple_preferences.cpp
+++ b/modules/gui/qt/components/simple_preferences.cpp
@@ -407,7 +407,6 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
                      ui.videoZone, setEnabled( bool ) );
 
             CONFIG_BOOL( "fullscreen", fullscreen );
-            CONFIG_BOOL( "overlay", overlay );
             CONFIG_BOOL( "video-on-top", alwaysOnTop );
             CONFIG_BOOL( "video-deco", windowDecorations );
             CONFIG_GENERIC( "vout", StringList, ui.voutLabel, outputModule );
@@ -415,10 +414,12 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
 #ifdef _WIN32
             CONFIG_GENERIC( "directx-device", StringList, ui.dxDeviceLabel,
                             dXdisplayDevice );
+            CONFIG_BOOL( "directx-overlay", overlay );
             CONFIG_BOOL( "directx-hw-yuv", hwYUVBox );
             CONNECT( ui.overlay, toggled( bool ), ui.hwYUVBox, setEnabled( bool ) );
 #else
             ui.directXBox->setVisible( false );
+            ui.overlay->setVisible( false );
             ui.hwYUVBox->setVisible( false );
 #endif
 



More information about the vlc-commits mailing list