Commit 8622fe6e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Rename add() function to a more instructive name.

parent 6eabc8bc
...@@ -87,8 +87,8 @@ private slots: ...@@ -87,8 +87,8 @@ private slots:
void doPopup( QModelIndex index, QPoint point ); void doPopup( QModelIndex index, QPoint point );
void search( QString search ); void search( QString search );
void clearFilter(); void clearFilter();
void add();
void setCurrentRootId( int ); void setCurrentRootId( int );
void popupAdd();
void popupSelectColumn( QPoint ); void popupSelectColumn( QPoint );
}; };
......
...@@ -90,7 +90,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent, ...@@ -90,7 +90,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
addButton = new QPushButton( "+", this ); addButton = new QPushButton( "+", this );
addButton->setMaximumWidth( 25 ); addButton->setMaximumWidth( 25 );
BUTTONACT( addButton, add() ); BUTTONACT( addButton, popupAdd() );
buttons->addWidget( addButton ); buttons->addWidget( addButton );
repeatButton = new QPushButton( this ); repeatButton = new QPushButton( this );
...@@ -186,7 +186,7 @@ void StandardPLPanel::setCurrentRootId( int _new ) ...@@ -186,7 +186,7 @@ void StandardPLPanel::setCurrentRootId( int _new )
addButton->setEnabled( false ); addButton->setEnabled( false );
} }
void StandardPLPanel::add() void StandardPLPanel::popupAdd()
{ {
QMenu popup; QMenu popup;
if( currentRootId == THEPL->p_local_category->i_id || if( currentRootId == THEPL->p_local_category->i_id ||
......
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