mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-23 22:25:11 +02:00
set title on super collection when showing it for the first time
This commit is contained in:
@@ -357,11 +357,11 @@ PlaylistManager::showSuperCollection()
|
|||||||
toAdd << source->collection();
|
toAdd << source->collection();
|
||||||
m_superAlbumModel->addCollection( source->collection() );
|
m_superAlbumModel->addCollection( source->collection() );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
m_superCollectionFlatModel->addCollections( toAdd );
|
||||||
|
|
||||||
m_superCollectionFlatModel->setTitle( tr( "All available tracks" ) );
|
m_superCollectionFlatModel->setTitle( tr( "All available tracks" ) );
|
||||||
m_superAlbumModel->setTitle( tr( "All available albums" ) );
|
m_superAlbumModel->setTitle( tr( "All available albums" ) );
|
||||||
}
|
|
||||||
m_superCollectionFlatModel->addCollections( toAdd );
|
|
||||||
|
|
||||||
if ( m_currentMode == 0 )
|
if ( m_currentMode == 0 )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user