1
0
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:
Christian Muehlhaeuser 2012-05-27 17:34:22 +02:00
parent c5f6c25e93
commit f24d11b41a

View File

@ -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 ) );
}