Commit 9a68967d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Qt, selector: Signal renaming to avoid Qt confusion


Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent b235e65f
...@@ -144,7 +144,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par ) ...@@ -144,7 +144,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
layout->setColumnStretch( 3, 3 ); layout->setColumnStretch( 3, 3 );
/* Connect the activation of the selector to a redefining of the PL */ /* Connect the activation of the selector to a redefining of the PL */
DCONNECT( selector, activated( playlist_item_t *, bool ), DCONNECT( selector, categoryActivated( playlist_item_t *, bool ),
mainView, setRoot( playlist_item_t *, bool ) ); mainView, setRoot( playlist_item_t *, bool ) );
mainView->setRoot( p_root, false ); mainView->setRoot( p_root, false );
......
...@@ -276,7 +276,7 @@ void PLSelector::setSource( QTreeWidgetItem *item ) ...@@ -276,7 +276,7 @@ void PLSelector::setSource( QTreeWidgetItem *item )
} }
else if( i_type == SQL_ML ) else if( i_type == SQL_ML )
{ {
emit activated( NULL, true ); emit categoryActivated( NULL, true );
return; return;
} }
...@@ -311,7 +311,7 @@ void PLSelector::setSource( QTreeWidgetItem *item ) ...@@ -311,7 +311,7 @@ void PLSelector::setSource( QTreeWidgetItem *item )
/* */ /* */
if( pl_item ) if( pl_item )
emit activated( pl_item, false ); emit categoryActivated( pl_item, false );
} }
PLSelItem * PLSelector::addItem ( PLSelItem * PLSelector::addItem (
......
...@@ -145,7 +145,7 @@ private slots: ...@@ -145,7 +145,7 @@ private slots:
void podcastRemove( PLSelItem* ); void podcastRemove( PLSelItem* );
signals: signals:
void activated( playlist_item_t *, bool ); void categoryActivated( playlist_item_t *, bool );
}; };
#endif #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