mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 09:19:41 +01:00
* Use new coverLoaded() methods.
This commit is contained in:
parent
c5f6c25e93
commit
f24d11b41a
@ -100,9 +100,9 @@ TreeModel::getCover( const QModelIndex& index )
|
||||
{
|
||||
PlayableItem* item = itemFromIndex( index );
|
||||
|
||||
if ( !item->artist().isNull() && !item->artist()->infoLoaded() )
|
||||
if ( !item->artist().isNull() && !item->artist()->coverLoaded() )
|
||||
item->artist()->cover( QSize( 0, 0 ) );
|
||||
else if ( !item->album().isNull() && !item->album()->infoLoaded() )
|
||||
else if ( !item->album().isNull() && !item->album()->coverLoaded() )
|
||||
item->album()->cover( QSize( 0, 0 ) );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user