mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
* Fixed inbox empty text.
This commit is contained in:
@@ -30,7 +30,6 @@ InboxView::InboxView( QWidget* parent ) :
|
|||||||
TrackView( parent )
|
TrackView( parent )
|
||||||
{
|
{
|
||||||
proxyModel()->setStyle( PlayableProxyModel::Fancy );
|
proxyModel()->setStyle( PlayableProxyModel::Fancy );
|
||||||
setEmptyTip( tr( "No listening suggestions here." ) );
|
|
||||||
|
|
||||||
TrackView::setGuid( "inbox" );
|
TrackView::setGuid( "inbox" );
|
||||||
setHeaderHidden( true );
|
setHeaderHidden( true );
|
||||||
@@ -84,6 +83,7 @@ InboxPage::InboxPage( QWidget* parent ) :
|
|||||||
// setCaption( tr( "Inbox Details" ) );
|
// setCaption( tr( "Inbox Details" ) );
|
||||||
|
|
||||||
setPlayableModel( ViewManager::instance()->inboxModel() );
|
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() );
|
TrackItemDelegate* delegate = new TrackItemDelegate( TrackItemDelegate::Inbox, inboxView, inboxView->proxyModel() );
|
||||||
inboxView->setPlaylistItemDelegate( delegate );
|
inboxView->setPlaylistItemDelegate( delegate );
|
||||||
|
Reference in New Issue
Block a user