[vlc-commits] Qt: CoverArtLabel: remove unused slot call chain

Francois Cartegnie git at videolan.org
Thu Jun 7 13:22:45 CEST 2012


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jun  7 13:22:35 2012 +0200| [9846042ca24d389583245a90009a186d2f78bcbf] | committer: Francois Cartegnie

Qt: CoverArtLabel: remove unused slot call chain

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

 modules/gui/qt4/components/interface_widgets.cpp |    1 -
 modules/gui/qt4/components/interface_widgets.hpp |   10 ----------
 2 files changed, 11 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 14c449f..e3c844b 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -506,7 +506,6 @@ CoverArtLabel::CoverArtLabel( QWidget *parent, intf_thread_t *_p_i )
     : QLabel( parent ), p_intf( _p_i ), p_item( NULL )
 {
     setContextMenuPolicy( Qt::ActionsContextMenu );
-    CONNECT( this, updateRequested(), this, askForUpdate() );
     CONNECT( THEMIM->getIM(), artChanged( input_item_t * ),
              this, showArtUpdate( input_item_t * ) );
 
diff --git a/modules/gui/qt4/components/interface_widgets.hpp b/modules/gui/qt4/components/interface_widgets.hpp
index 9960080..97b8bc6 100644
--- a/modules/gui/qt4/components/interface_widgets.hpp
+++ b/modules/gui/qt4/components/interface_widgets.hpp
@@ -245,19 +245,9 @@ private:
     input_item_t *p_item;
 
 public slots:
-    void requestUpdate() { emit updateRequested(); }
-    void update( )
-    {
-        requestUpdate();
-    }
     void showArtUpdate( const QString& );
     void showArtUpdate( input_item_t * );
-
-private slots:
     void askForUpdate();
-
-signals:
-    void updateRequested();
 };
 
 #endif



More information about the vlc-commits mailing list