[vlc-devel] commit: Compile fix for L4MERS on Qt4.2 :D (Jean-Baptiste Kempf )

git version control git at videolan.org
Fri Mar 14 08:10:34 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Mar 14 00:10:46 2008 -0700| [62d91d413bc4a7c52a8b598680db14a19e523291]

Compile fix for L4MERS on Qt4.2 :D

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

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

diff --git a/modules/gui/qt4/dialogs/preferences.cpp b/modules/gui/qt4/dialogs/preferences.cpp
index 7d37687..85ccc55 100644
--- a/modules/gui/qt4/dialogs/preferences.cpp
+++ b/modules/gui/qt4/dialogs/preferences.cpp
@@ -103,7 +103,11 @@ PrefsDialog::PrefsDialog( QWidget *parent, intf_thread_t *_p_intf )
 
     /* Margins */
     tree_panel_l->setMargin( 1 );
+#if HAS_QT43
     main_panel_l->setContentsMargins( 6, 0, 0, 3 );
+#else
+    main_panel_l->setMargin( 3 );
+#endif
 
     for( int i = 0; i < SPrefsMax ; i++ ) simple_panels[i] = NULL;
 




More information about the vlc-devel mailing list