]> git.sesse.net Git - vlc/commitdiff
Try to close ticket '#1775' (Qt intf startup size is too big)
authorJean-Philippe Andre <jpeg@via.ecp.fr>
Sat, 23 Aug 2008 05:59:08 +0000 (01:59 -0400)
committerJean-Philippe Andre <jpeg@via.ecp.fr>
Sat, 23 Aug 2008 05:59:08 +0000 (01:59 -0400)
Simply resize to sizeHint() on startup.

modules/gui/qt4/main_interface.cpp

index 10f6bdcbbe088b1fb36f6c0be103302e94af54f8..2cb37548e810cd61c9770b55288b96bf4dc2c575 100644 (file)
@@ -237,6 +237,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
 
     /* Update the geometry TODO: is it useful ?*/
     updateGeometry();
+    resize( sizeHint() );
 
     /*****************************************************
      * End everything by creating the Systray Management *