From 32fd321a8427696229ceb2e5ae737560c9e06a11 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Sat, 23 Aug 2008 01:59:08 -0400 Subject: [PATCH] Try to close ticket '#1775' (Qt intf startup size is too big) Simply resize to sizeHint() on startup. --- 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 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 * -- 2.39.2