Commit ed9cd68c authored by Jakob Leben's avatar Jakob Leben

Qt: better function name

parent 0b49fce1
......@@ -107,7 +107,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
CONNECT( treeView->header(), customContextMenuRequested( const QPoint & ),
this, popupSelectColumn( QPoint ) );
CONNECT( treeView, customContextMenuRequested( const QPoint & ),
this, playlistPopup( const QPoint & ) );
this, popupPlView( const QPoint & ) );
CONNECT( model, currentChanged( const QModelIndex& ),
this, handleExpansion( const QModelIndex& ) );
......@@ -213,7 +213,7 @@ void StandardPLPanel::popupSelectColumn( QPoint pos )
menu.exec( QCursor::pos() );
}
void StandardPLPanel::playlistPopup( const QPoint &point )
void StandardPLPanel::popupPlView( const QPoint &point )
{
QAbstractItemView *aView;
if ( treeView->isVisible() ) aView = treeView;
......@@ -312,7 +312,7 @@ void StandardPLPanel::toggleView()
layout->addWidget( iconView, 1, 0, 1, -1 );
iconView->setContextMenuPolicy( Qt::CustomContextMenu );
CONNECT( iconView, customContextMenuRequested( const QPoint & ),
this, playlistPopup( const QPoint & ) );
this, popupPlView( const QPoint & ) );
}
treeView->hide();
iconView->show();
......
......@@ -85,9 +85,9 @@ private slots:
void search( const QString& searchText );
void popupAdd();
void popupSelectColumn( QPoint );
void popupPlView( const QPoint & );
void toggleColumnShown( int );
void toggleView();
void playlistPopup( const QPoint & );
};
#endif
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