[vlc-devel] commit: Deactivate FS controller on Windows on 8-bit displays. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Aug 24 09:11:23 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 24 00:14:09 2008 -0700| [1bff21705ebdc512822e5f887c466045eab46077] | committer: Jean-Baptiste Kempf 

Deactivate FS controller on Windows on 8-bit displays.

Close #1758.

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

 modules/gui/qt4/main_interface.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index aa8e0a0..93f0f28 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -381,6 +381,9 @@ void MainInterface::handleMainUi( QSettings *settings )
     CONNECT( controls, advancedControlsToggled( bool ),
              this, doComponentsUpdate() );
 
+#ifdef WIN32
+    if ( depth > 8 )
+#endif
     /* Create the FULLSCREEN CONTROLS Widget */
     if( config_GetInt( p_intf, "qt-fs-controller" ) )
     {




More information about the vlc-devel mailing list