From: Jean-Philippe Andre Date: Sat, 23 Aug 2008 05:59:08 +0000 (-0400) Subject: Try to close ticket '#1775' (Qt intf startup size is too big) X-Git-Tag: 0.9.0~93 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=32fd321a8427696229ceb2e5ae737560c9e06a11;p=vlc Try to close ticket '#1775' (Qt intf startup size is too big) Simply resize to sizeHint() on startup. --- diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp index 10f6bdcbbe..2cb37548e8 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 *