[vlc-devel] commit: Fix the minimum size in qt-display-mode 1 to show all the cone. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Mon Aug 25 08:11:58 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 24 23:15:06 2008 -0700| [fce957a48e10681ed6c96302e1bca71f1d9aa662] | committer: Jean-Baptiste Kempf 

Fix the minimum size in qt-display-mode 1 to show all the cone.

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

 modules/gui/qt4/components/interface_widgets.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 1e8fc47..e10a0ba 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -181,7 +181,7 @@ QSize VideoWidget::sizeHint() const
  **********************************************************************/
 #define ICON_SIZE 128
 #define MAX_BG_SIZE 400
-#define MIN_BG_SIZE 64
+#define MIN_BG_SIZE 128
 
 BackgroundWidget::BackgroundWidget( intf_thread_t *_p_i )
                  :QWidget( NULL ), p_intf( _p_i )
@@ -191,7 +191,7 @@ BackgroundWidget::BackgroundWidget( intf_thread_t *_p_i )
 
     /* A dark background */
     setAutoFillBackground( true );
-    plt =  palette();
+    plt = palette();
     plt.setColor( QPalette::Active, QPalette::Window , Qt::black );
     plt.setColor( QPalette::Inactive, QPalette::Window , Qt::black );
     setPalette( plt );




More information about the vlc-devel mailing list