Commit 9846042c authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: CoverArtLabel: remove unused slot call chain

parent bd0ae7ec
...@@ -506,7 +506,6 @@ CoverArtLabel::CoverArtLabel( QWidget *parent, intf_thread_t *_p_i ) ...@@ -506,7 +506,6 @@ CoverArtLabel::CoverArtLabel( QWidget *parent, intf_thread_t *_p_i )
: QLabel( parent ), p_intf( _p_i ), p_item( NULL ) : QLabel( parent ), p_intf( _p_i ), p_item( NULL )
{ {
setContextMenuPolicy( Qt::ActionsContextMenu ); setContextMenuPolicy( Qt::ActionsContextMenu );
CONNECT( this, updateRequested(), this, askForUpdate() );
CONNECT( THEMIM->getIM(), artChanged( input_item_t * ), CONNECT( THEMIM->getIM(), artChanged( input_item_t * ),
this, showArtUpdate( input_item_t * ) ); this, showArtUpdate( input_item_t * ) );
......
...@@ -245,19 +245,9 @@ private: ...@@ -245,19 +245,9 @@ private:
input_item_t *p_item; input_item_t *p_item;
public slots: public slots:
void requestUpdate() { emit updateRequested(); }
void update( )
{
requestUpdate();
}
void showArtUpdate( const QString& ); void showArtUpdate( const QString& );
void showArtUpdate( input_item_t * ); void showArtUpdate( input_item_t * );
private slots:
void askForUpdate(); void askForUpdate();
signals:
void updateRequested();
}; };
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment