[vlc-commits] qt: Ensure categories name is always displayed

Hugo Beauzée-Luyssen git at videolan.org
Wed May 3 14:34:44 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed May  3 14:28:09 2017 +0200| [c38d4092998dfebb2458a511f7334d3d9ef5123a] | committer: Hugo Beauzée-Luyssen

qt: Ensure categories name is always displayed

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

 modules/gui/qt/components/simple_preferences.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/components/simple_preferences.cpp b/modules/gui/qt/components/simple_preferences.cpp
index b9e1d01a41..fcd8bdd8d2 100644
--- a/modules/gui/qt/components/simple_preferences.cpp
+++ b/modules/gui/qt/components/simple_preferences.cpp
@@ -199,7 +199,7 @@ SPrefsCatList::SPrefsCatList( intf_thread_t *_p_intf, QWidget *_parent ) :
     button->setToolTip( ltooltip );                                         \
     button->setToolButtonStyle( Qt::ToolButtonTextUnderIcon );              \
     button->setIconSize( QSize( icon_height + 40 , icon_height ) );         \
-    button->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred        ); \
+    button->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Minimum); \
     button->setAutoRaise( true );                                           \
     button->setCheckable( true );                                           \
     button->setAutoExclusive( true );                                       \



More information about the vlc-commits mailing list