[vlc-commits] Qt4: fix DEBUG_LAYOUT warning

Rémi Denis-Courmont git at videolan.org
Mon Aug 8 17:33:22 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug  8 17:52:52 2011 +0300| [f4709e52341d8cbeb7333597724be6bb6490d78b] | committer: Rémi Denis-Courmont

Qt4: fix DEBUG_LAYOUT warning

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

 modules/gui/qt4/components/controller.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/components/controller.cpp b/modules/gui/qt4/components/controller.cpp
index 5b870f5..3401d15 100644
--- a/modules/gui/qt4/components/controller.cpp
+++ b/modules/gui/qt4/components/controller.cpp
@@ -624,7 +624,7 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
 {
     /* advanced Controls handling */
     b_advancedVisible = b_advControls;
-#if DEBUG_LAYOUT
+#ifdef DEBUG_LAYOUT
     setStyleSheet( "background: red ");
 #endif
 
@@ -677,7 +677,7 @@ AdvControlsWidget::AdvControlsWidget( intf_thread_t *_p_i, QWidget *_parent ) :
     controlLayout = new QHBoxLayout( this );
     controlLayout->setMargin( 0 );
     controlLayout->setSpacing( 0 );
-#if DEBUG_LAYOUT
+#ifdef DEBUG_LAYOUT
     setStyleSheet( "background: orange ");
 #endif
 
@@ -693,7 +693,7 @@ InputControlsWidget::InputControlsWidget( intf_thread_t *_p_i, QWidget *_parent
     controlLayout = new QHBoxLayout( this );
     controlLayout->setMargin( 0 );
     controlLayout->setSpacing( 0 );
-#if DEBUG_LAYOUT
+#ifdef DEBUG_LAYOUT
     setStyleSheet( "background: green ");
 #endif
 



More information about the vlc-commits mailing list