Commit 6d417d4c authored by Sergey Ivanov's avatar Sergey Ivanov
Browse files

Fixed Photos applet crash on track metadata change.

BUG: 265395
FIXED-IN: 2.4.1
parent 063a99de
......@@ -5,6 +5,7 @@ Amarok ChangeLog
VERSION 2.4.1
BUGFIXES:
* Fixed Photos applet crash on track metadata change. (BR 265395)
* Fixed crash on local collection search. (BR 270949)
* Fixed crash during iPod track removal. (BR 253088)
* Relative paths support for XSPF playlists. (BR 264147)
......
......@@ -115,7 +115,7 @@ PhotosEngine::sourceRequestEvent( const QString& name )
void
PhotosEngine::metadataChanged( Meta::TrackPtr track )
{
const bool hasChanged = track->artist()->name() != m_artist;
const bool hasChanged = !track->artist() || track->artist()->name() != m_artist;
if ( hasChanged )
update();
}
......
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