1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-22 21:54:00 +02:00

set title on super collection when showing it for the first time

This commit is contained in:
Leo Franchi
2011-03-22 22:29:41 -04:00
parent cc379b8ffe
commit 0691ad6252

View File

@@ -357,12 +357,12 @@ PlaylistManager::showSuperCollection()
toAdd << source->collection();
m_superAlbumModel->addCollection( source->collection() );
}
m_superCollectionFlatModel->setTitle( tr( "All available tracks" ) );
m_superAlbumModel->setTitle( tr( "All available albums" ) );
}
m_superCollectionFlatModel->addCollections( toAdd );
m_superCollectionFlatModel->setTitle( tr( "All available tracks" ) );
m_superAlbumModel->setTitle( tr( "All available albums" ) );
if ( m_currentMode == 0 )
{
setPage( m_superCollectionView );