1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-05 13:47:26 +02: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 ); PlayableItem* item = itemFromIndex( index );
if ( !item->artist().isNull() && !item->artist()->infoLoaded() ) if ( !item->artist().isNull() && !item->artist()->coverLoaded() )
item->artist()->cover( QSize( 0, 0 ) ); 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 ) ); item->album()->cover( QSize( 0, 0 ) );
} }