[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 16:02:08 CEST 2008


vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 24 23:15:06 2008 -0700| [d9297ab0a36fb8235fa0f76d089a1bbd7e7b6a57] | committer: Christophe Mutricy 

Fix the minimum size in qt-display-mode 1 to show all the cone.
(cherry picked from commit fce957a48e10681ed6c96302e1bca71f1d9aa662)

Signed-off-by: Christophe Mutricy <xtophe at videolan.org>

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

 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