]> git.sesse.net Git - vlc/commitdiff
Qt4 - Preferences, fix the bug that empeached to display the name of the categories.
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 16 Jan 2008 08:11:04 +0000 (08:11 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 16 Jan 2008 08:11:04 +0000 (08:11 +0000)
modules/gui/qt4/dialogs/preferences.cpp

index 30fe02ec4c08b40a00ea0eccce985b4fd6b529fb..8c5989261e7129685fbbf90ccd7b62e94bb3f453 100644 (file)
@@ -44,7 +44,6 @@ PrefsDialog::PrefsDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
 {
     QGridLayout *main_layout = new QGridLayout( this );
     setWindowTitle( qtr( "Preferences" ) );
-    resize( 750, 550 );
 
     /* Create Panels */
     tree_panel = new QWidget;
@@ -112,6 +111,8 @@ PrefsDialog::PrefsDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
 
     BUTTONACT( small, setSmall() );
     BUTTONACT( all, setAdvanced() );
+
+    resize( 750, sizeHint().height() );
 }
 
 void PrefsDialog::setAdvanced()