1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-13 20:39:57 +01:00

* Added empty playlist tooltip.

This commit is contained in:
Christian Muehlhaeuser 2012-09-19 20:40:51 +02:00
parent a367e60838
commit 6c135bc0b4

View File

@ -140,6 +140,7 @@ ViewManager::createPageForPlaylist( const playlist_ptr& playlist )
PlaylistView* pv = new PlaylistView();
view->setDetailedView( pv );
view->setPixmap( pv->pixmap() );
view->setEmptyTip( tr( "This playlist is empty!" ) );
// We need to set the model on the view before loading the playlist, so spinners & co are connected
view->setPlaylistModel( model );