vlc | branch: master | Ludovic Fauvet <[email protected]> | Wed Jul 10 17:07:57 
2013 +0200| [27ae51dd4674bdb17110a734ba34327ef21098bd] | committer: Ludovic 
Fauvet

Qt: remove dead code

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

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

diff --git a/modules/gui/qt4/components/extended_panels.cpp 
b/modules/gui/qt4/components/extended_panels.cpp
index 103ac7b..74fc7b3 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * extended_panels.cpp : Extended controls panels
  ****************************************************************************
- * Copyright (C) 2006-2012 the VideoLAN team
+ * Copyright (C) 2006-2013 the VideoLAN team
  * $Id$
  *
  * Authors: ClĂ©ment Stenac <[email protected]>
@@ -61,29 +61,6 @@ static char *ChangeFiltersString( struct intf_thread_t 
*p_intf, const char *psz_
 static void ChangeAFiltersString( struct intf_thread_t *p_intf, const char 
*psz_name, bool b_add );
 static void ChangeVFiltersString( struct intf_thread_t *p_intf, const char 
*psz_name, bool b_add );
 
-#if 0
-class ConfClickHandler : public QObject
-{
-public:
-    ConfClickHandler( intf_thread_t *_p_intf, ExtVideo *_e ) : QObject ( _e ) {
-        e = _e; p_intf = _p_intf;
-    }
-    virtual ~ConfClickHandler() {}
-    bool eventFilter( QObject *obj, QEvent *evt )
-    {
-        if( evt->type() == QEvent::MouseButtonPress )
-        {
-            e->gotoConf( obj );
-            return true;
-        }
-        return false;
-    }
-private:
-    ExtVideo* e;
-    intf_thread_t *p_intf;
-};
-#endif
-
 const QString ModuleFromWidgetName( QObject *obj )
 {
     return obj->objectName().replace( "Enable","" );
@@ -708,28 +685,6 @@ void ExtVideo::updateFilterOptions()
     if( p_obj ) vlc_object_release( p_obj );
 }
 
-#if 0
-void ExtVideo::gotoConf( QObject* src )
-{
-#define SHOWCONF( module ) \
-    if( src->objectName().contains( module ) ) \
-    { \
-        PrefsDialog::getInstance( p_intf )->showModulePrefs( module ); \
-        return; \
-    }
-    SHOWCONF( "clone" );
-    SHOWCONF( "magnify" );
-    SHOWCONF( "wave" );
-    SHOWCONF( "ripple" );
-    SHOWCONF( "invert" );
-    SHOWCONF( "puzzle" );
-    SHOWCONF( "wall" );
-    SHOWCONF( "gradient" );
-    SHOWCONF( "colorthres" );
-    SHOWCONF( "anaglyph" )
-}
-#endif
-
 /**********************************************************************
  * v4l2 controls
  **********************************************************************/
diff --git a/modules/gui/qt4/components/extended_panels.hpp 
b/modules/gui/qt4/components/extended_panels.hpp
index e43e743..770f558 100644
--- a/modules/gui/qt4/components/extended_panels.hpp
+++ b/modules/gui/qt4/components/extended_panels.hpp
@@ -46,7 +46,6 @@ class ExtVideo: public QObject
     friend class ExtendedDialog;
 public:
     ExtVideo( struct intf_thread_t *, QTabWidget * );
-    /*void gotoConf( QObject* );*/
 private:
     Ui::ExtVideoWidget ui;
     QSignalMapper* filterMapper;

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to