[vlc-commits] Qt: updatedialog: fix size.

Francois Cartegnie git at videolan.org
Tue Mar 26 17:29:48 CET 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Mar 26 16:48:55 2013 +0100| [631c83639809815d05488294ec93c5ac96bcb2f4] | committer: Francois Cartegnie

Qt: updatedialog: fix size.

Default size was wrong.
Text was really hard to real in that tiny box: lots of line breaks and
scrollbars. Text should fit in a single viewport.
Max size has been increased to 500, screen assumed at least 640px wide.

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

 modules/gui/qt4/dialogs/help.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/dialogs/help.cpp b/modules/gui/qt4/dialogs/help.cpp
index 2df8935..fb6fb8d 100644
--- a/modules/gui/qt4/dialogs/help.cpp
+++ b/modules/gui/qt4/dialogs/help.cpp
@@ -184,9 +184,9 @@ UpdateDialog::UpdateDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
     b_checked = false;
 
     setMinimumSize( 300, 300 );
-    setMaximumSize( 400, 300 );
+    setMaximumSize( 500, 300 );
 
-    restoreWidgetPosition( "Update", QSize( 300, 250 ) );
+    restoreWidgetPosition( "Update", maximumSize() );
 
     /* Check for updates */
     UpdateOrDownload();



More information about the vlc-commits mailing list