Fix for missing resizing in sout dialog.
authorClément Stenac <zorglub@videolan.org>
Mon, 27 Nov 2006 07:23:25 +0000 (07:23 +0000)
committerClément Stenac <zorglub@videolan.org>
Mon, 27 Nov 2006 07:23:25 +0000 (07:23 +0000)
Patch by Leo Spalteholz, thanks.

modules/gui/qt4/dialogs/sout.cpp
modules/gui/qt4/dialogs/sout.hpp
modules/gui/qt4/ui/sout.ui

index 5ed3884..5d1227d 100644 (file)
 
 SoutDialog::SoutDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
 {
-    setWindowTitle( qtr( "Stream output") );
-    main = new QWidget( this );
+    //setWindowTitle( qtr( "Stream output") );
 
     /* UI stuff */
-    ui.setupUi( main );
+    ui.setupUi( this );
 #define ADD_VCODEC( name, fcc) ui.vCodec->addItem( name, QVariant( fcc ) );
     ADD_VCODEC( "MPEG-1", "mp1v" );
     ADD_VCODEC( "MPEG-2", "mp2v" );
index 55088ef..94b06e3 100644 (file)
@@ -36,7 +36,6 @@ class SoutDialog : public QVLCFrame
     Q_OBJECT;
 public:
     SoutDialog( intf_thread_t * );
-    QWidget *main;
 private:
     Ui::Sout ui;
 public slots:
index d414068..08818e8 100644 (file)
@@ -5,12 +5,12 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>630</width>
-    <height>660</height>
+    <width>601</width>
+    <height>611</height>
    </rect>
   </property>
   <property name="windowTitle" >
-   <string>Form</string>
+   <string>Stream Output</string>
   </property>
   <layout class="QVBoxLayout" >
    <property name="margin" >