1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 07:36:48 +02:00

* If we don't set the style before we set the model, the cover methods won't be hooked up.

This commit is contained in:
Christian Muehlhaeuser
2013-04-26 07:45:12 +02:00
parent bd7f7420a4
commit 2a45a53283

View File

@@ -477,12 +477,12 @@ ViewManager::showInboxPage()
inboxView, SLOT( update( QModelIndex ) ) );
inboxView->setItemDelegate( delegate );
inboxView->proxyModel()->setStyle( PlayableProxyModel::Large );
inboxView->setPlayableModel( m_inboxModel );
inboxView->setEmptyTip( tr( "No listening suggestions here." ) );
inboxView->setGuid( "inbox" );
inboxView->proxyModel()->setStyle( PlayableProxyModel::Large );
inboxView->setSortingEnabled( false );
inboxView->setHeaderHidden( true );