[vlc-commits] Qt: don't show Ml button if it does nothing
    Francois Cartegnie 
    git at videolan.org
       
    Tue Jan 24 17:03:35 CET 2012
    
    
  
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jan 24 16:20:01 2012 +0100| [8eb8d9419ba68664b34c8dbf200368b9b43b6485] | committer: Francois Cartegnie
Qt: don't show Ml button if it does nothing
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8eb8d9419ba68664b34c8dbf200368b9b43b6485
---
 modules/gui/qt4/components/simple_preferences.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index aa8a107..08dda9c 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -539,6 +539,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
 #endif
 #ifdef MEDIA_LIBRARY
             BUTTONACT( ui.sqlMLbtn, configML() );
+#else
+            ui.sqlMLbtn->hide();
 #endif
 
             /* interface */
    
    
More information about the vlc-commits
mailing list