[vlc-commits] Qt: don't show Ml button if it does nothing
Francois Cartegnie
git at videolan.org
Tue Jan 24 19:31:56 CET 2012
vlc/vlc-1.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jan 24 16:20:01 2012 +0100| [a66950cd58d333da976b205ff3ff284351e190ef] | committer: Jean-Baptiste Kempf
Qt: don't show Ml button if it does nothing
(cherry picked from commit 8eb8d9419ba68664b34c8dbf200368b9b43b6485)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=a66950cd58d333da976b205ff3ff284351e190ef
---
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 83d1911..9780ff8 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