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

* Safer cover loading for Artists & Albums.

This commit is contained in:
Christian Muehlhaeuser 2012-06-12 08:41:10 +02:00
parent 82febe8da3
commit d0a8f2d1b9
2 changed files with 5 additions and 2 deletions

View File

@ -181,7 +181,7 @@ Album::infoSystemInfo( const Tomahawk::InfoSystem::InfoRequestData& requestData,
if ( ba.length() )
{
m_coverBuffer = ba;
m_coverLoaded = true;
emit coverChanged();
}
}
@ -200,7 +200,8 @@ Album::infoSystemFinished( const QString& target )
disconnect( Tomahawk::InfoSystem::InfoSystem::instance(), SIGNAL( finished( QString ) ),
this, SLOT( infoSystemFinished( QString ) ) );
m_coverLoaded = true;
m_coverLoading = false;
emit updated();
}

View File

@ -382,6 +382,8 @@ Artist::infoSystemFinished( QString target )
this, SLOT( infoSystemFinished( QString ) ) );
}
m_coverLoading = false;
emit updated();
}