Commit 01e557cb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix the weird size of the open dialog.

parent e74e198b
......@@ -88,10 +88,10 @@ OpenDialog::OpenDialog( QWidget *parent,
setWindowTitle( qtr( "Open a Media" ) );
/* Tab definition and creation */
fileOpenPanel = new FileOpenPanel( ui.Tab, p_intf );
discOpenPanel = new DiscOpenPanel( ui.Tab, p_intf );
netOpenPanel = new NetOpenPanel( ui.Tab, p_intf );
captureOpenPanel = new CaptureOpenPanel( ui.Tab, p_intf );
fileOpenPanel = new FileOpenPanel( this, p_intf );
discOpenPanel = new DiscOpenPanel( this, p_intf );
netOpenPanel = new NetOpenPanel( this, p_intf );
captureOpenPanel = new CaptureOpenPanel( this, p_intf );
/* Insert the tabs */
ui.Tab->insertTab( OPEN_FILE_TAB, fileOpenPanel, qtr( "&File" ) );
......@@ -179,7 +179,8 @@ OpenDialog::OpenDialog( QWidget *parent,
storedMethod = "";
newCachingMethod( "file-caching" );
resize( getSettings()->value( "opendialog-size", QSize( 400, 490 ) ).toSize() );
setMinimumSize( sizeHint() );
resize( getSettings()->value( "opendialog-size", QSize( 500, 490 ) ).toSize() );
}
OpenDialog::~OpenDialog()
......
......@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>365</width>
<height>129</height>
<width>392</width>
<height>134</height>
</rect>
</property>
<layout class="QGridLayout" >
......
......@@ -6,12 +6,12 @@
<rect>
<x>0</x>
<y>0</y>
<width>519</width>
<height>282</height>
<width>571</width>
<height>271</height>
</rect>
</property>
<property name="sizePolicy" >
<sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment