1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

* Fixed inbox empty text.

This commit is contained in:
Christian Muehlhaeuser 2014-10-06 16:53:59 +02:00
parent 8ddfa18833
commit ef14a1d51b

View File

@ -30,7 +30,6 @@ InboxView::InboxView( QWidget* parent ) :
TrackView( parent )
{
proxyModel()->setStyle( PlayableProxyModel::Fancy );
setEmptyTip( tr( "No listening suggestions here." ) );
TrackView::setGuid( "inbox" );
setHeaderHidden( true );
@ -84,6 +83,7 @@ InboxPage::InboxPage( QWidget* parent ) :
// setCaption( tr( "Inbox Details" ) );
setPlayableModel( ViewManager::instance()->inboxModel() );
setEmptyTip( tr( "Your friends have not shared any recommendations with you yet. Connect with them and share your musical gems!" ) );
TrackItemDelegate* delegate = new TrackItemDelegate( TrackItemDelegate::Inbox, inboxView, inboxView->proxyModel() );
inboxView->setPlaylistItemDelegate( delegate );