[vlc-devel] commit: Try to close ticket '#1775' (Qt intf startup size is too big) ( Jean-Philippe Andre )

git version control git at videolan.org
Sat Aug 23 08:03:08 CEST 2008


vlc | branch: master | Jean-Philippe Andre <jpeg at via.ecp.fr> | Sat Aug 23 01:59:08 2008 -0400| [32fd321a8427696229ceb2e5ae737560c9e06a11] | committer: Jean-Philippe Andre 

Try to close ticket '#1775' (Qt intf startup size is too big)
Simply resize to sizeHint() on startup.

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

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

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 10f6bdc..2cb3754 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -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 *




More information about the vlc-devel mailing list