Qt: block too large Windows for open dialog. And close #2475.
[vlc.git] / modules / gui / qt4 / dialogs / open.cpp
index e8db45e..5fcd28d 100644 (file)
@@ -181,6 +181,7 @@ OpenDialog::OpenDialog( QWidget *parent,
     newCachingMethod( "file-caching" );
 
     setMinimumSize( sizeHint() );
+    setMaximumWidth( 900 );
     resize( getSettings()->value( "opendialog-size", QSize( 500, 490 ) ).toSize() );
 }