1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-24 09:49:42 +01:00

Fix artist bios not loading after changes to infosystem types

This commit is contained in:
Leo Franchi 2011-10-21 16:25:11 -04:00
parent 3924521aed
commit 537115fac5

View File

@ -199,7 +199,8 @@ ArtistInfoWidget::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData requestD
if ( output.canConvert< QVariantMap >() )
{
if ( trackInfo["artist"] != m_artist->name() )
const QString artist = requestData.input.toString();
if ( trackInfo["artist"] != m_artist->name() && artist != m_artist->name() )
{
qDebug() << "Returned info was for:" << trackInfo["artist"] << "- was looking for:" << m_artist->name();
return;