Commit 1b39631e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Open. Make files in a better way to stop whiners (2)

parent 9d968bee
...@@ -58,7 +58,7 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) : ...@@ -58,7 +58,7 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
// Make this QFileDialog a child of tempWidget from the ui. // Make this QFileDialog a child of tempWidget from the ui.
dialogBox = new FileOpenBox( ui.tempWidget, NULL, dialogBox = new FileOpenBox( ui.tempWidget, NULL,
qfu( p_intf->p_libvlc->psz_homedir ), fileTypes ); qfu( p_intf->p_libvlc->psz_homedir ), fileTypes );
dialogBox->setFileMode( QFileDialog::ExistingFiles ); /* dialogBox->setFileMode( QFileDialog::ExistingFiles );*/
dialogBox->setAcceptMode( QFileDialog::AcceptOpen ); dialogBox->setAcceptMode( QFileDialog::AcceptOpen );
/* We don't want to see a grip in the middle of the window, do we? */ /* We don't want to see a grip in the middle of the window, do we? */
...@@ -201,8 +201,8 @@ void FileOpenPanel::toggleSubtitleFrame() ...@@ -201,8 +201,8 @@ void FileOpenPanel::toggleSubtitleFrame()
if (ui.subFrame->isVisible()) if (ui.subFrame->isVisible())
{ {
ui.subFrame->hide(); ui.subFrame->hide();
// setMinimumHeight(1); updateGeometry();
resize( sizeHint()); /* FiXME Size */
} }
else else
{ {
......
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