[vlc-commits] commit: Qt: Workaround the bug of preference height on small screens ( Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Mon Nov 15 22:39:29 CET 2010
vlc/vlc-1.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Nov 15 22:35:23 2010 +0100| [862bdbdee27819b97a90211ecfa745a42a6620bf] | committer: Jean-Baptiste Kempf
Qt: Workaround the bug of preference height on small screens
Close #3884
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=862bdbdee27819b97a90211ecfa745a42a6620bf
---
modules/gui/qt4/dialogs/preferences.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/dialogs/preferences.cpp b/modules/gui/qt4/dialogs/preferences.cpp
index 2bfa9db..57d612d 100644
--- a/modules/gui/qt4/dialogs/preferences.cpp
+++ b/modules/gui/qt4/dialogs/preferences.cpp
@@ -111,7 +111,7 @@ PrefsDialog::PrefsDialog( QWidget *parent, intf_thread_t *_p_intf )
tree_panel_l->setMargin( 1 );
main_panel_l->setContentsMargins( 6, 0, 0, 3 );
- b_small = (p_intf->p_sys->i_screenHeight < 750);
+ b_small = (p_intf->p_sys->i_screenHeight < 850);
if( b_small ) msg_Dbg( p_intf, "Small");
setMaximumHeight( p_intf->p_sys->i_screenHeight );
for( int i = 0; i < SPrefsMax ; i++ ) simple_panels[i] = NULL;
More information about the vlc-commits
mailing list