Qt: block too large Windows for open dialog. And close #2475.
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 27 Feb 2009 20:01:56 +0000 (21:01 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 27 Feb 2009 20:01:56 +0000 (21:01 +0100)
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() );
 }