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

Qt: block too large Windows for open dialog. And close #2475.

parent f8d66f23
...@@ -181,6 +181,7 @@ OpenDialog::OpenDialog( QWidget *parent, ...@@ -181,6 +181,7 @@ OpenDialog::OpenDialog( QWidget *parent,
newCachingMethod( "file-caching" ); newCachingMethod( "file-caching" );
setMinimumSize( sizeHint() ); setMinimumSize( sizeHint() );
setMaximumWidth( 900 );
resize( getSettings()->value( "opendialog-size", QSize( 500, 490 ) ).toSize() ); resize( getSettings()->value( "opendialog-size", QSize( 500, 490 ) ).toSize() );
} }
......
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