[vlc-devel] commit: Qt: block too large Windows for open dialog. And close #2475. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Fri Feb 27 21:03:12 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Feb 27 21:01:56 2009 +0100| [01ac4a7e1cf0a24c2f8bd2dfd4e79ee51990202e] | committer: Jean-Baptiste Kempf 

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=01ac4a7e1cf0a24c2f8bd2dfd4e79ee51990202e
---

 modules/gui/qt4/dialogs/open.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/dialogs/open.cpp b/modules/gui/qt4/dialogs/open.cpp
index e8db45e..5fcd28d 100644
--- a/modules/gui/qt4/dialogs/open.cpp
+++ b/modules/gui/qt4/dialogs/open.cpp
@@ -181,6 +181,7 @@ OpenDialog::OpenDialog( QWidget *parent,
     newCachingMethod( "file-caching" );
 
     setMinimumSize( sizeHint() );
+    setMaximumWidth( 900 );
     resize( getSettings()->value( "opendialog-size", QSize( 500, 490 ) ).toSize() );
 }
 




More information about the vlc-devel mailing list