Fix win32 compiling
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 24 Aug 2008 07:25:42 +0000 (00:25 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 24 Aug 2008 07:25:42 +0000 (00:25 -0700)
modules/gui/qt4/main_interface.cpp

index 93f0f28..e04b5b6 100644 (file)
@@ -382,7 +382,7 @@ void MainInterface::handleMainUi( QSettings *settings )
              this, doComponentsUpdate() );
 
 #ifdef WIN32
-    if ( depth > 8 )
+    if ( depth() > 8 )
 #endif
     /* Create the FULLSCREEN CONTROLS Widget */
     if( config_GetInt( p_intf, "qt-fs-controller" ) )