Deactivate FS controller on Windows on 8-bit displays.
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 24 Aug 2008 07:14:09 +0000 (00:14 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 24 Aug 2008 07:14:09 +0000 (00:14 -0700)
Close #1758.

modules/gui/qt4/main_interface.cpp

index aa8e0a0..93f0f28 100644 (file)
@@ -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" ) )
     {