]> git.sesse.net Git - vlc/commitdiff
Qt4 - SPrefs, make the hotkeys module take all the space available.
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 6 Nov 2007 02:55:44 +0000 (02:55 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 6 Nov 2007 02:55:44 +0000 (02:55 +0000)
modules/gui/qt4/components/simple_preferences.cpp

index 7272c83f7bc3e73296dc6badb90e134468064bda..408993f0bd43671cad8103c62b0efc48fc3bd3e6 100644 (file)
@@ -440,7 +440,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
     panel_layout->addWidget( panel_label );
     panel_layout->addWidget( title_line );
     panel_layout->addWidget( panel );
-    panel_layout->addStretch( 2 );
+    if( number != SPrefsHotkeys ) panel_layout->addStretch( 2 );
 
     setLayout( panel_layout );
 }