1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 08:19:42 +01:00

* React to filter changes and update prev/next control states.

This commit is contained in:
Christian Muehlhaeuser 2012-11-28 10:50:03 +01:00
parent 27b4c0b2c4
commit a8aa861599

View File

@ -40,6 +40,7 @@ PlayableProxyModelPlaylistInterface::PlayableProxyModelPlaylistInterface( Playab
{
connect( proxyModel, SIGNAL( currentIndexChanged() ), SLOT( onModelChanged() ) );
connect( proxyModel, SIGNAL( indexPlayable( QModelIndex ) ), SLOT( onModelChanged() ) );
connect( proxyModel, SIGNAL( filterChanged( QString ) ), SLOT( onModelChanged() ) );
// connect( proxyModel, SIGNAL( trackCountChanged( unsigned int ) ), SLOT( onModelChanged() ) );
}