Commit 85adaeac authored by Ralf Engels's avatar Ralf Engels
Browse files

Fix: Move tracks to rubbish and the current track cover changes to the deleted cover

I hope that fixes it.

BUG: 306735
FIXED-IN: 2.8
parent d7a9f9a0
......@@ -94,6 +94,10 @@ CurrentEngine::sourceRequestEvent( const QString& name )
void
CurrentEngine::metadataChanged( Meta::AlbumPtr album )
{
// disregard changes for other albums (BR: 306735)
if( !m_currentTrack || m_currentTrack->album() != album )
return;
QImage cover = album->image( m_coverWidth );
qint64 coverCacheKey = cover.cacheKey();
if( m_coverCacheKey != coverCacheKey )
......@@ -106,6 +110,8 @@ CurrentEngine::metadataChanged( Meta::AlbumPtr album )
void
CurrentEngine::metadataChanged( Meta::TrackPtr track )
{
DEBUG_BLOCK
QVariantMap trackInfo = Meta::Field::mapFromTrack( track );
if( m_trackInfo != trackInfo )
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment