Commit dee8d5f4 authored by Jakob Leben's avatar Jakob Leben

Qt: PLModel::removeItem( int ) is not for public usage

parent 74d4a589
......@@ -97,7 +97,6 @@ public:
void search( const QString& search_text );
void sort( int column, Qt::SortOrder order );
void sort( int i_root_id, int column, Qt::SortOrder order );
void removeItem( int );
void rebuild(); void rebuild( playlist_item_t *, bool b_first = false );
inline PLItem *getItem( QModelIndex index ) const
......@@ -122,6 +121,7 @@ private:
void recurseDelete( QList<PLItem*> children, QModelIndexList *fullList );
void updateTreeItem( PLItem * );
void removeItem ( PLItem * );
void removeItem( int );
void takeItem( PLItem * ); //will not delete item
void insertChildren( PLItem *node, QList<PLItem*>& items, int i_pos );
void dropAppendCopy( QByteArray& data, PLItem *target );
......
......@@ -261,11 +261,6 @@ void StandardPLPanel::setRoot( playlist_item_t *p_item )
model->rebuild( p_item );
}
void StandardPLPanel::removeItem( int i_id )
{
model->removeItem( i_id );
}
/* Delete and Suppr key remove the selection
FilterKey function and code function */
void StandardPLPanel::keyPressEvent( QKeyEvent *e )
......
......@@ -93,7 +93,6 @@ private:
void createIconView();
public slots:
void removeItem( int );
virtual void setRoot( playlist_item_t * );
private slots:
void deleteSelection();
......
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