]> git.sesse.net Git - vlc/commitdiff
Qt: force main window maximum size to be some big enough
authorSergey Radionov <RSATom@gmail.com>
Thu, 29 Jan 2015 17:19:12 +0000 (18:19 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 29 Jan 2015 17:20:40 +0000 (18:20 +0100)
Close #12852

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/main_interface.cpp

index 9fd996cd0d913913cdcfc374d083ac452a34030c..157d7fc992e8ea74b309be792e1d1a6688d24434 100644 (file)
@@ -260,6 +260,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
     if( b_minimalView )
         toggleMinimalView( true );
 
+    setMaximumSize( QSize( 16386, 16386 ) );
     computeMinimumSize();
 }