diff --git a/modules/gui/qt4/components/playlist/panels.hpp b/modules/gui/qt4/components/playlist/panels.hpp index cab5ecf90394d9449b33402e67cf59d6f58ad641..60de0b0483fdcb6cd9ae8605cc295a3b956b71eb 100644 --- a/modules/gui/qt4/components/playlist/panels.hpp +++ b/modules/gui/qt4/components/playlist/panels.hpp @@ -87,8 +87,8 @@ private slots: void doPopup( QModelIndex index, QPoint point ); void search( QString search ); void clearFilter(); - void add(); void setCurrentRootId( int ); + void popupAdd(); void popupSelectColumn( QPoint ); }; diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp index 360315e080414dd9817d979427f9f24d48054f44..5142eafce4c9a9d4634dc74a77447c0a5f6c29f9 100644 --- a/modules/gui/qt4/components/playlist/standardpanel.cpp +++ b/modules/gui/qt4/components/playlist/standardpanel.cpp @@ -90,7 +90,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent, addButton = new QPushButton( "+", this ); addButton->setMaximumWidth( 25 ); - BUTTONACT( addButton, add() ); + BUTTONACT( addButton, popupAdd() ); buttons->addWidget( addButton ); repeatButton = new QPushButton( this ); @@ -186,7 +186,7 @@ void StandardPLPanel::setCurrentRootId( int _new ) addButton->setEnabled( false ); } -void StandardPLPanel::add() +void StandardPLPanel::popupAdd() { QMenu popup; if( currentRootId == THEPL->p_local_category->i_id ||