From 8622fe6eb11911adc59f4abc6bbe8b7580e35899 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf <jb@videolan.org> Date: Wed, 5 Sep 2007 15:37:51 +0000 Subject: [PATCH] Qt4 - Rename add() function to a more instructive name. --- modules/gui/qt4/components/playlist/panels.hpp | 2 +- modules/gui/qt4/components/playlist/standardpanel.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/gui/qt4/components/playlist/panels.hpp b/modules/gui/qt4/components/playlist/panels.hpp index cab5ecf90394..60de0b0483fd 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 360315e08041..5142eafce4c9 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 || -- GitLab