]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/playlist_model.cpp
remove unused artSet signal in playlist_model (changed to input-manager
[vlc] / modules / gui / qt4 / playlist_model.cpp
index 3c1932917640ac02e2627699083c23e73b2c07b5..287cfd7aae51e1d0f2f835950a2c6c809d73f1b6 100644 (file)
@@ -173,14 +173,6 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
     type = p_item->p_input->i_type;
     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();
 
     if( model->i_depth == 1 )  //left window for playlist etc.
@@ -827,17 +819,6 @@ void PLModel::UpdateTreeItem( playlist_item_t *p_item, PLItem *item,
 
 /************************* 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
  * list of indexes to delete at once: when we delete a node and all of