[vlc-devel] commit: Qt: factorize again (Jean-Baptiste Kempf )

git version control git at videolan.org
Fri Dec 4 07:21:46 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Nov 28 14:29:07 2009 +0100| [d41b6e26a510c8d9b3f8ebebfc75539eb496abe2] | committer: Jean-Baptiste Kempf 

Qt: factorize again

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

 modules/gui/qt4/components/controller.cpp |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/modules/gui/qt4/components/controller.cpp b/modules/gui/qt4/components/controller.cpp
index 39ee961..47aac5b 100644
--- a/modules/gui/qt4/components/controller.cpp
+++ b/modules/gui/qt4/components/controller.cpp
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * Controller.cpp : Controller for the main interface
  ****************************************************************************
- * Copyright (C) 2006-2008 the VideoLAN team
+ * Copyright (C) 2006-2009 the VideoLAN team
  * $Id$
  *
  * Authors: Jean-Baptiste Kempf <jb at videolan.org>
@@ -240,19 +240,11 @@ QWidget *AbstractController::createWidget( buttonType_e button, int options )
         }
         break;
     case FULLSCREEN_BUTTON:{
+    case DEFULLSCREEN_BUTTON:{
         NORMAL_BUTTON( FULLSCREEN );
         ENABLE_ON_VIDEO( FULLSCREENButton );
         }
         break;
-    case DEFULLSCREEN_BUTTON:{
-        QToolButton *fullscreenButton = new QToolButton;
-        setupButton( fullscreenButton );
-        CONNECT_MAP_SET( fullscreenButton, FULLSCREEN_ACTION );
-        BUTTON_SET_BAR( fullscreenButton )
-        ENABLE_ON_VIDEO( fullscreenButton );
-        widget = fullscreenButton;
-        }
-        break;
     case EXTENDED_BUTTON:{
         NORMAL_BUTTON( EXTENDED );
         }




More information about the vlc-devel mailing list