[vlc-devel] commit: Qt: compile fix (Jakob Leben )

git version control git at videolan.org
Mon Feb 22 17:17:05 CET 2010


vlc | branch: master | Jakob Leben <jleben at videolan.org> | Mon Feb 22 17:16:34 2010 +0100| [f745927683e483793b8b2d0de63d9b8c5c0debd4] | committer: Jakob Leben 

Qt: compile fix

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

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

diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index ba395cd..3be308a 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -150,8 +150,9 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
                 controls.append( control );                               \
             }                                                             \
             else {                                                        \
+                QWidget *widget = label;                                  \
                 qcontrol->setVisible( false );                            \
-                if( label ) label->setEnabled( false );                   \
+                if( widget ) widget->setEnabled( false );                 \
             }
 
 




More information about the vlc-devel mailing list