[vlc-commits] Qt: Make fullscreen bar thinner in one line interface profile.

Sandeep Kumar git at videolan.org
Tue Apr 23 12:26:40 CEST 2013


vlc | branch: master | Sandeep Kumar <sandeep.kumar.ruhil at gmail.com> | Tue Apr 23 15:30:15 2013 +0530| [1a8bfb0deb9fd19c8b570083709b50cc862059e3] | committer: Jean-Baptiste Kempf

Qt: Make fullscreen bar thinner in one line interface profile.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/qt4/components/controller.cpp |    3 +--
 modules/gui/qt4/components/controller.hpp |    2 --
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/modules/gui/qt4/components/controller.cpp b/modules/gui/qt4/components/controller.cpp
index 44de18a..2928bd5 100644
--- a/modules/gui/qt4/components/controller.cpp
+++ b/modules/gui/qt4/components/controller.cpp
@@ -740,7 +740,6 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i, QWi
 
     setWindowFlags( Qt::ToolTip );
     setMinimumWidth( FSC_WIDTH );
-    setMinimumHeight( FSC_HEIGHT );
     isWideFSC = false;
 
     setFrameShape( QFrame::StyledPanel );
@@ -908,7 +907,7 @@ void FullscreenControllerWidget::updateFullwidthGeometry( int number )
 {
     QRect screenGeometry = QApplication::desktop()->screenGeometry( number );
     setMinimumWidth( screenGeometry.width() );
-    setGeometry( screenGeometry.x(), screenGeometry.y() + screenGeometry.height() - FSC_HEIGHT, screenGeometry.width(), FSC_HEIGHT );
+    setGeometry( screenGeometry.x(), screenGeometry.y() + screenGeometry.height() - height(), screenGeometry.width(), height() );
     adjustSize();
 }
 
diff --git a/modules/gui/qt4/components/controller.hpp b/modules/gui/qt4/components/controller.hpp
index 51e477b..bfe68e9 100644
--- a/modules/gui/qt4/components/controller.hpp
+++ b/modules/gui/qt4/components/controller.hpp
@@ -249,8 +249,6 @@ signals:
 /* Used to restore the minimum width after a full-width switch */
 #define FSC_WIDTH 800
 
-#define FSC_HEIGHT 72
-
 /***********************************
  * Fullscreen controller
  ***********************************/



More information about the vlc-commits mailing list