[vlc-commits] Qt: force main window maximum size to be some big enough

Sergey Radionov git at videolan.org
Thu Jan 29 18:20:49 CET 2015


vlc | branch: master | Sergey Radionov <RSATom at gmail.com> | Thu Jan 29 18:19:12 2015 +0100| [b5a43debee2232ca9b3be252f58c0520fcc413b8] | committer: Jean-Baptiste Kempf

Qt: force main window maximum size to be some big enough

Close #12852

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/qt4/main_interface.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 9fd996c..157d7fc 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -260,6 +260,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
     if( b_minimalView )
         toggleMinimalView( true );
 
+    setMaximumSize( QSize( 16386, 16386 ) );
     computeMinimumSize();
 }
 



More information about the vlc-commits mailing list