1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-05 13:47:26 +02:00

* Show tracks on Album page collection-style again.

This commit is contained in:
Christian Muehlhaeuser
2012-07-03 03:47:01 +02:00
parent 392197608f
commit 5991467d40

View File

@@ -57,6 +57,7 @@ AlbumInfoWidget::AlbumInfoWidget( const Tomahawk::album_ptr& album, QWidget* par
ui->tracksView->setTreeModel( m_tracksModel ); ui->tracksView->setTreeModel( m_tracksModel );
ui->tracksView->setRootIsDecorated( false ); ui->tracksView->setRootIsDecorated( false );
ui->tracksView->setEmptyTip( tr( "Sorry, we could not find any tracks for this album!" ) ); ui->tracksView->setEmptyTip( tr( "Sorry, we could not find any tracks for this album!" ) );
ui->tracksView->proxyModel()->setStyle( PlayableProxyModel::Collection );
m_pixmap = TomahawkUtils::defaultPixmap( TomahawkUtils::DefaultAlbumCover, TomahawkUtils::ScaledCover, QSize( 48, 48 ) ); m_pixmap = TomahawkUtils::defaultPixmap( TomahawkUtils::DefaultAlbumCover, TomahawkUtils::ScaledCover, QSize( 48, 48 ) );