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

Sergey Radionov git at videolan.org
Thu Jan 29 18:21:43 CET 2015


vlc/vlc-2.2 | branch: master | Sergey Radionov <RSATom at gmail.com> | Thu Jan 29 18:19:12 2015 +0100| [19ca9885e15ef0ef71191f05fcedc0fce861c10a] | 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>
(cherry picked from commit b5a43debee2232ca9b3be252f58c0520fcc413b8)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 8c911e8..68a8e65 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