]> git.sesse.net Git - vlc/commitdiff
Qt4 - Preferences. Fix a small bug in the layout of the complete preferences that...
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 18 Jan 2008 06:23:34 +0000 (06:23 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 18 Jan 2008 06:23:34 +0000 (06:23 +0000)
modules/gui/qt4/components/complete_preferences.cpp

index ce6db230c20e3659b52240608e10d3e1d494dca2..45a0b2000ca234889d58a78212e669ea65ae5ee2 100644 (file)
@@ -434,10 +434,10 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             if( box )
             {
                 box->setLayout( boxlayout );
-                layout->addWidget( box, i_line, 0, 1, 2 );
+                layout->addWidget( box, i_line, 0, 1, -1 );
                 i_line++;
             }
-            box = new QGroupBox( qtr(p_item->psz_text) );
+            box = new QGroupBox( qtr( p_item->psz_text ) );
             boxlayout = new QGridLayout();
         }
         /* Only one hotkey control */
@@ -471,7 +471,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
     if( box )
     {
         box->setLayout( boxlayout );
-        layout->addWidget( box, i_line, 0, 1, 2 );
+        layout->addWidget( box, i_line, 0, 1, -1 );
     }
 
     module_Put( p_module );