mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 06:36:55 +02:00
* We shouldn't need to set an empty-tip in the ViewManager any longer.
This commit is contained in:
@@ -145,7 +145,6 @@ ViewManager::createPageForPlaylist( const playlist_ptr& playlist )
|
|||||||
PlaylistView* pv = new PlaylistView();
|
PlaylistView* pv = new PlaylistView();
|
||||||
view->setDetailedView( pv );
|
view->setDetailedView( pv );
|
||||||
view->setPixmap( pv->pixmap() );
|
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
|
// We need to set the model on the view before loading the playlist, so spinners & co are connected
|
||||||
view->setPlaylistModel( model );
|
view->setPlaylistModel( model );
|
||||||
@@ -167,7 +166,6 @@ ViewManager::createPageForList( const QString& title, const QList< query_ptr >&
|
|||||||
PlaylistView* pv = new PlaylistView();
|
PlaylistView* pv = new PlaylistView();
|
||||||
view->setDetailedView( pv );
|
view->setDetailedView( pv );
|
||||||
view->setPixmap( pv->pixmap() );
|
view->setPixmap( pv->pixmap() );
|
||||||
view->setEmptyTip( tr( "This playlist is empty!" ) );
|
|
||||||
view->setTemporaryPage( true );
|
view->setTemporaryPage( true );
|
||||||
|
|
||||||
// We need to set the model on the view before loading the playlist, so spinners & co are connected
|
// We need to set the model on the view before loading the playlist, so spinners & co are connected
|
||||||
|
Reference in New Issue
Block a user