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:
parent
82febe8da3
commit
d0a8f2d1b9
@ -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();
|
||||
}
|
||||
|
||||
|
@ -382,6 +382,8 @@ Artist::infoSystemFinished( QString target )
|
||||
this, SLOT( infoSystemFinished( QString ) ) );
|
||||
}
|
||||
|
||||
m_coverLoading = false;
|
||||
|
||||
emit updated();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user