Commit 2d1e22b5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Qt4 - Dialog. fix the reparenting Open Dialog for Win32

parent 3c81d1e9
......@@ -45,10 +45,10 @@ OpenDialog::OpenDialog( QWidget *parent, intf_thread_t *_p_intf, bool modal ) :
setWindowTitle( qtr("Open" ) );
resize( 500, 300);
fileOpenPanel = new FileOpenPanel( this , p_intf );
diskOpenPanel = new DiskOpenPanel( this , p_intf );
netOpenPanel = new NetOpenPanel( this , p_intf );
captureOpenPanel = new CaptureOpenPanel( this, p_intf );
fileOpenPanel = new FileOpenPanel( ui.Tab , p_intf );
diskOpenPanel = new DiskOpenPanel( ui.Tab , p_intf );
netOpenPanel = new NetOpenPanel( ui.Tab , p_intf );
captureOpenPanel = new CaptureOpenPanel( ui.Tab, p_intf );
ui.Tab->addTab( fileOpenPanel, qtr( "&File" ) );
ui.Tab->addTab( diskOpenPanel, qtr( "&Disc" ) );
......@@ -119,6 +119,10 @@ void OpenDialog::cancel()
reject();
}
void OpenDialog::close()
{
play();
}
void OpenDialog::play()
{
playOrEnqueue( false );
......
Supports Markdown
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