mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 16:14:40 +02:00
* Fixed Artist-/AlbumPlaylistInterface's overzealous caching.
This commit is contained in:
@@ -204,10 +204,11 @@ AlbumPlaylistInterface::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData re
|
|||||||
void
|
void
|
||||||
AlbumPlaylistInterface::onTracksLoaded( const QList< query_ptr >& tracks )
|
AlbumPlaylistInterface::onTracksLoaded( const QList< query_ptr >& tracks )
|
||||||
{
|
{
|
||||||
m_databaseLoaded = true;
|
|
||||||
|
|
||||||
if ( m_collection.isNull() )
|
if ( m_collection.isNull() )
|
||||||
|
{
|
||||||
|
m_databaseLoaded = true;
|
||||||
m_queries << filterTracks( tracks );
|
m_queries << filterTracks( tracks );
|
||||||
|
}
|
||||||
else
|
else
|
||||||
m_queries << tracks;
|
m_queries << tracks;
|
||||||
|
|
||||||
|
@@ -202,10 +202,11 @@ ArtistPlaylistInterface::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData r
|
|||||||
void
|
void
|
||||||
ArtistPlaylistInterface::onTracksLoaded( const QList< query_ptr >& tracks )
|
ArtistPlaylistInterface::onTracksLoaded( const QList< query_ptr >& tracks )
|
||||||
{
|
{
|
||||||
m_databaseLoaded = true;
|
|
||||||
|
|
||||||
if ( m_collection.isNull() )
|
if ( m_collection.isNull() )
|
||||||
|
{
|
||||||
|
m_databaseLoaded = true;
|
||||||
m_queries << filterTracks( tracks );
|
m_queries << filterTracks( tracks );
|
||||||
|
}
|
||||||
else
|
else
|
||||||
m_queries << tracks;
|
m_queries << tracks;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user