Commit 7c69beac authored by Ilkka Ollakka's avatar Ilkka Ollakka

remove unused artSet signal in playlist_model (changed to input-manager

signaling)
parent 56fbf5f7
...@@ -173,14 +173,6 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent ) ...@@ -173,14 +173,6 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
type = p_item->p_input->i_type; type = p_item->p_input->i_type;
current = iscurrent; current = iscurrent;
char *psz_arturl = input_item_GetArtURL( p_item->p_input );
if( ( current && psz_arturl ) &&
!strncmp( psz_arturl, "file://", 7 ) )
model->sendArt( qfu( psz_arturl ) ) ;
else if( current )
model->removeArt();
free( psz_arturl );
strings.clear(); strings.clear();
if( model->i_depth == 1 ) //left window for playlist etc. if( model->i_depth == 1 ) //left window for playlist etc.
...@@ -827,17 +819,6 @@ void PLModel::UpdateTreeItem( playlist_item_t *p_item, PLItem *item, ...@@ -827,17 +819,6 @@ void PLModel::UpdateTreeItem( playlist_item_t *p_item, PLItem *item,
/************************* Actions ******************************/ /************************* Actions ******************************/
void PLModel::sendArt( QString url )
{
QString arturl = url.replace( "file://",QString("" ) );
emit artSet( arturl );
}
void PLModel::removeArt()
{
emit artSet( QString() );
}
/** /**
* Deletion, here we have to do a ugly slow hack as we retrieve the full * Deletion, here we have to do a ugly slow hack as we retrieve the full
* list of indexes to delete at once: when we delete a node and all of * list of indexes to delete at once: when we delete a node and all of
......
...@@ -139,9 +139,6 @@ public: ...@@ -139,9 +139,6 @@ public:
int row, int column, const QModelIndex &target ); int row, int column, const QModelIndex &target );
QStringList mimeTypes() const; QStringList mimeTypes() const;
void sendArt( QString url );
void removeArt( );
int shownFlags() { return rootItem->i_showflags; } int shownFlags() { return rootItem->i_showflags; }
private: private:
void addCallbacks(); void addCallbacks();
...@@ -184,7 +181,6 @@ private: ...@@ -184,7 +181,6 @@ private:
int i_cached_id; int i_cached_id;
int i_cached_input_id; int i_cached_input_id;
signals: signals:
void artSet( QString );
void shouldRemove( int ); void shouldRemove( int );
public slots: public slots:
void activateItem( const QModelIndex &index ); void activateItem( const QModelIndex &index );
......
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