From 0691ad62529ea506337b9d0e2252ab51afa79828 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Tue, 22 Mar 2011 22:29:41 -0400 Subject: [PATCH] set title on super collection when showing it for the first time --- src/libtomahawk/playlist/playlistmanager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libtomahawk/playlist/playlistmanager.cpp b/src/libtomahawk/playlist/playlistmanager.cpp index ce9a48af3..31570a41f 100644 --- a/src/libtomahawk/playlist/playlistmanager.cpp +++ b/src/libtomahawk/playlist/playlistmanager.cpp @@ -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 );